var QRMode = require('./QRMode'); function QR8bitByte(data) { this.mode = QRMode.MODE_8BIT_BYTE; this.data = data; } QR8bitByte.prototype = { getLength : function() { return this.data.length; }, write : function(buffer) { for (var i = 0; i < this.data.length; i++) { // not JIS ... buffer.put(this.data.charCodeAt(i), 8); } } }; module.exports = QR8bitByte;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
QR8bitByte.js | File | 382 B | 0644 |
|
QRBitBuffer.js | File | 702 B | 0644 |
|
QRErrorCorrectLevel.js | File | 54 B | 0644 |
|
QRMaskPattern.js | File | 157 B | 0644 |
|
QRMath.js | File | 673 B | 0644 |
|
QRMode.js | File | 149 B | 0644 |
|
QRPolynomial.js | File | 1.3 KB | 0644 |
|
QRRSBlock.js | File | 5.43 KB | 0644 |
|
QRUtil.js | File | 8.03 KB | 0644 |
|
index.js | File | 10.42 KB | 0644 |
|