readBytes method

Uint8List readBytes(
  1. int num
)

Returns a new, mutable Uint8List containing the desired number of bytes.

Implementation

Uint8List readBytes(int num) {
  return Uint8List.fromList(readBytesImmutable(num));
}