Class StreamExtensions
Extension methods for streams.
Inheritance
Inherited Members
Namespace: McStreamy
Assembly: cs.temp.dll.dll
Syntax
public static class StreamExtensions
Methods
| Name | Description |
|---|---|
| ReadAllBytes(Stream) | Performs a 'naive' read of the stream from it's current position to it's end and returns a byte array with the contents. |
| ReadAllBytesAsync(Stream) | Performs a 'naive' read of the stream from it's current position to it's end and returns a byte array with the contents. |
| ReadAsString(Stream, Encoding) | Reads the contents of stream from it's current point to the end and returns the result as a string. |
| ReadAsString(Stream) | Reads the contents of stream from it's current point to the end and returns the result as a string. |
| ReadAsStringAsync(Stream, Encoding) | Reads the contents of stream from it's current point to the end and returns the result as a string. |
| ReadAsStringAsync(Stream) | Reads the contents of stream from it's current point to the end and returns the result as a string. |
| WriteAllBytes(Stream, Byte[]) | Writes all bytes in the specified byte array to the stream. |
| WriteAllBytesAsync(Stream, Byte[]) | Writes all bytes in the specified byte array to the stream. |