readCompactU16Value method

int readCompactU16Value()

Implementation

int readCompactU16Value() {
  final keysLength = CompactU16.raw(buf.buffer.asUint8List(offset));

  for (int i = 0; i < keysLength.size; i++) {
    readU8();
  }

  return keysLength.value;
}