readBytes method

ByteData readBytes(
  1. int length
)

Implementation

ByteData readBytes(int length) {
  int offset = _readIndex + raw.offsetInBytes;
  _readIndex += length;
  return raw.buffer.asByteData(offset, length);
}