readLeb128BlockTo method

int readLeb128BlockTo(
  1. BytesBuffer dst
)

Reads a LEB128 bytes block into dst.

Implementation

int readLeb128BlockTo(BytesBuffer dst) {
  var blockSize = readLeb128UnsignedInt();
  return readTo(dst, blockSize);
}