peekBytes method
Read count
bytes from an offset
of the current read position, without
moving the read position.
Implementation
InputStream peekBytes(int count, {int offset = 0}) =>
subset(position: position + offset, length: count);
Read count
bytes from an offset
of the current read position, without
moving the read position.
InputStream peekBytes(int count, {int offset = 0}) =>
subset(position: position + offset, length: count);