The StreamExtensions type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| IsMatch |
Determines whether the stream matches specified data.
| |
| Match |
Raises an exception if the stream data doesn't match specified data.
| |
| PeekByte |
Reads a byte from the stream without consuming it.
| |
| ReadBytes |
Reads a byte array from given stream.
| |
| ToMemoryStream(Stream) |
Copies the entire contents of specified stream to a new memory stream.
| |
| ToMemoryStream(Stream, Int32) |
Copies the entire contents of specified stream to a new memory stream.
| |
| VerifyRead |
Verifies whether the specified stream is not null and readable.
| |
| VerifyReadAndSeek |
Verifies whether the specified stream is not null, readable and seekable.
| |
| VerifyWrite |
Verifies whether the specified stream is not null and writable.
| |
| VerifyWriteAndSeek |
Verifies whether the specified stream is not null, writable and seekable.
|