readBlock16 method

Uint8List readBlock16([
  1. int offset = 0
])

Reads a bytes block, using a Uint16 prefix (2 bytes of length prefix).

Implementation

Uint8List readBlock16([int offset = 0]) {
  var sz = getUint16(offset);
  var bs = readBytes(offset + 2, sz);
  return bs;
}