readBytes method
Reads an Uint8List of length
.
Implementation
@override
Uint8List readBytes(int length) {
checkCanRead(length);
var bs = Uint8List(length);
_ioSyncPosition();
_ioReadBytes(bs, 0, length);
incrementPosition(length);
assert(_position == _ioPosition);
return bs;
}