Method | Description | |
---|---|---|
ReadBinaryContent ( this stream ) : byte[] |
Reads the content from the stream as binary.
|
|
ReadBinaryContentAsync ( this stream ) : Task |
Reads the content from the stream as binary.
|
|
ReadContent ( this stream ) : string |
Reads the content from the stream.
|
|
ReadContent ( this stream, |
Reads the content from the stream.
|
|
ReadContentAsync ( this stream ) : Task |
Reads the content from the stream.
|
|
ReadContentAsync ( this stream, |
Reads the content from the stream.
|
|
SaveToFile ( this stream, string pathToFile ) : void |
Saves a stream to a file.
|
|
SaveToFileAsync ( this stream, string pathToFile ) : System.Threading.Tasks.Task |
Saves a stream to a file.
|
|
SaveToStream ( this stream, |
Saves a stream to another stream.
|
|
SaveToStreamAsync ( this stream, |
Saves a stream to another stream.
|
Method | Description | |
---|---|---|
ComputeSHA1Hash ( string pathToFile ) : string | ||
ComputeSHA1Hash ( this stream ) : string |
public static ReadBinaryContent ( this stream ) : byte[] | ||
stream | this | The stream. |
return | byte[] |
public static ReadBinaryContentAsync ( this stream ) : Task |
||
stream | this | The stream. |
return | Task |
public static ReadContent ( this stream ) : string | ||
stream | this | The stream. |
return | string |
public static ReadContent ( this stream, |
||
stream | this | The stream. |
encoding | The encoding. | |
return | string |
public static ReadContentAsync ( this stream ) : Task |
||
stream | this | The stream. |
return | Task |
public static ReadContentAsync ( this stream, |
||
stream | this | The stream. |
encoding | The encoding. | |
return | Task |
public static SaveToFile ( this stream, string pathToFile ) : void | ||
stream | this | The stream. |
pathToFile | string | The path to file. |
return | void |
public static SaveToFileAsync ( this stream, string pathToFile ) : System.Threading.Tasks.Task | ||
stream | this | The stream. |
pathToFile | string | The path to file. |
return | System.Threading.Tasks.Task |
public static SaveToStream ( this stream, |
||
stream | this | The input stream. |
outputStream | The output stream. | |
return | void |
public static SaveToStreamAsync ( this stream, |
||
stream | this | The input stream. |
outputStream | The output stream. | |
return | System.Threading.Tasks.Task |