Summer.Batch.Common.Extensions.StreamExtension Class Reference
Extension class for System.IO.Stream. More...
Static Public Member Functions | |
static int | Read (this Stream stream, byte[] data) |
Reads a stream into a byte array with default values (0, byte array length). More... | |
static void | Write (this Stream stream, byte[] data) |
Writes a byte array into a stream using default values (0, byte array length). More... | |
Detailed Description
Extension class for System.IO.Stream.
Member Function Documentation
|
static |
Reads a stream into a byte array with default values (0, byte array length).
- Parameters
-
stream The stream to read the bytes from. data The array into which the bytes are copied.
- Returns
|
static |
Writes a byte array into a stream using default values (0, byte array length).
- Parameters
-
stream The stream to write to. data The array containing the bytes to write.
The documentation for this class was generated from the following file:
- Summer.Batch.Common/Extensions/StreamExtension.cs