readLenDelim method

Uint8List readLenDelim()

Implementation

Uint8List readLenDelim() {
  final len = readRawVarint();
  final sub = _buf.sublist(_pos, _pos + len);
  _pos += len;
  return sub;
}