call method

Uint8List call(
  1. int length
)

Reads length bytes from the current position.

This is a concise alias for readBytes.

Example:

final data = reader(10); // Same as reader.readBytes(10)

Implementation

@pragma('vm:prefer-inline')
@pragma('dart2js:tryInline')
Uint8List call(int length) => readBytes(length);