peekBytes method
Read count
bytes from an offset
of the current read position, without
moving the read position.
Implementation
@override
InputStreamBase peekBytes(int count, [int offset = 0]) {
return subset(_position + offset, count);
}
Read count
bytes from an offset
of the current read position, without
moving the read position.
@override
InputStreamBase peekBytes(int count, [int offset = 0]) {
return subset(_position + offset, count);
}