peekBytes method Null safety

InputStreamBase peekBytes(
  1. int count,
  2. [int offset = 0]
)

Read count bytes from an offset of the current read position, without moving the read position.

Implementation

InputStreamBase peekBytes(int count, [int offset = 0]);