mdict-parser.js
function(len) {
          len *= _bpu;
          var read = conseq(_decoder.decode(newUint8Array(buf, offset, len)), this.forward(len + _tail));
          return read;
        }
function(len) {
          len *= _bpu;
          var read = conseq(_decoder.decode(newUint8Array(buf, offset, len)), this.forward(len + _tail));
          return read;
        }
Read data to an Uint8Array and decode it to text with specified encoding. @param len length in basic unit, need to multiply byte per unit to get length in bytes NOTE: After decoding the text, it is need to forward extra "tail" bytes according to specified encoding.