readBytes abstract method

UnmodifiableUint8ListView readBytes(
  1. int length
)

Get the bytes from the current index to the length

Example:

final input = Input.fromHex('0x010203');
print(input.readBytes(3)); // [1, 2, 3]

Implementation

UnmodifiableUint8ListView readBytes(int length);