/var/www/greso.tech/server/nsm/node_modules/qrcode/lib/core
NameSizeModeActions
alignment-pattern.js29960644editdlrm
alphanumeric-data.js18220644editdlrm
bit-buffer.js7190644editdlrm
bit-matrix.js15010644editdlrm
byte-data.js6850644editdlrm
error-correction-code.js34150755editdlrm
error-correction-level.js8930644editdlrm
finder-pattern.js5990644editdlrm
format-info.js11260644editdlrm
galois-field.js18990644editdlrm
kanji-data.js15840644editdlrm
mask-pattern.js61010644editdlrm
mode.js39830644editdlrm
numeric-data.js12110644editdlrm
polynomial.js15890644editdlrm
qrcode.js151280644editdlrm
reed-solomon-encoder.js16250644editdlrm
regex.js10840644editdlrm
segments.js93310644editdlrm
utils.js16210644editdlrm
version-check.js2680644editdlrm
version.js49280755editdlrm
Edit: /var/www/greso.tech/server/nsm/node_modules/qrcode/lib/core/byte-data.js (685B)
const encodeUtf8 = require('encode-utf8') const Mode = require('./mode') function ByteData (data) { this.mode = Mode.BYTE if (typeof (data) === 'string') { data = encodeUtf8(data) } this.data = new Uint8Array(data) } ByteData.getBitsLength = function getBitsLength (length) { return length * 8 } ByteData.prototype.getLength = function getLength () { return this.data.length } ByteData.prototype.getBitsLength = function getBitsLength () { return ByteData.getBitsLength(this.data.length) } ByteData.prototype.write = function (bitBuffer) { for (let i = 0, l = this.data.length; i < l; i++) { bitBuffer.put(this.data[i], 8) } } module.exports = ByteData