docs: function (data) {
              const _mode = QRMode.MODE_8BIT_BYTE;
              const _bytes = qrcode.stringToBytes(data);
              const _this = {};
  
              _this.getMode = function () {
                  return _mode;
              };
  
              _this.getLength = function () {
                  return _bytes.length;
              };
  
              /**
               * @param {QrBitBuffer} buffer
               */
              _this.write = function (buffer) {
                  for (let i = 0; i < _bytes.length; i += 1) {
                      buffer.put(_bytes[i], 8);
                  }
              };
  
              return _this;
          }