Declaration
public override int Read(
byte[] buffer,
int offset,
int count
)Summary
Peeks at most the specified number of bytes from the parent stream. Because the peek stream maintains its own
position, subsequent calls to this method will peek further and further into the parent stream. Note however that
direct operations on the parent's underlying stream can break the sequence, and that some calls on the parent
stream will reset this position. All such calls are documented to this effect.
Returns
The actual number of bytes peeked. Zero if called when peeked all the way to the end of the parent stream, or if
count was zero.