Méthode | 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.
|
Méthode | 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. |
Résultat | byte[] |
public static CopyStream ( Stream inputStream, Stream outputStream ) : void | ||
inputStream | Stream | The input stream. |
outputStream | Stream | The output stream. |
Résultat | 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. |
Résultat | 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. |
Résultat | void |