Method | Description | |
---|---|---|
ConvertStreamToByteArray ( Stream stream ) : byte[] |
Converts a stream to a byte array.
|
|
CopyStream ( Stream inputStream, Stream outputStream ) : void |
Copies data from an input stream to an output stream.
|
|
CopyStream ( Stream inputStream, Stream outputStream, int startingPosition ) : void |
Copies data from an input stream to an output stream.
|
|
WriteUtf8StringToStream ( string value, Stream stream ) : void |
Writes the UTF8 string to a stream.
|
Method | Description | |
---|---|---|
WriteStringToStream ( string value, Stream stream, |
Writes the string to a stream.
|
public static ConvertStreamToByteArray ( Stream stream ) : byte[] | ||
stream | Stream | The stream to convert to a byte array. |
return | byte[] |
public static CopyStream ( Stream inputStream, Stream outputStream ) : void | ||
inputStream | Stream | The input stream. |
outputStream | Stream | The output stream. |
return | void |
public static CopyStream ( Stream inputStream, Stream outputStream, int startingPosition ) : void | ||
inputStream | Stream | The input stream. |
outputStream | Stream | The output stream. |
startingPosition | int | The starting position of the input stream. |
return | void |
public static WriteUtf8StringToStream ( string value, Stream stream ) : void | ||
value | string | The value to write to the stream. |
stream | Stream | The stream to write to. |
return | void |