Appearance
StreamToTextAsync Method
Definition
- Namespace:
JASE.Extensions - Assembly:
JASE.Primitives.dll
Overloads
| Name | Description |
|---|---|
Task<string> StreamToTextAsync(Stream stream, CancellationToken cancellationToken = null) | Asynchronously returns the stream content as a string. |
Task<string> StreamToTextAsync(Stream stream, Encoding encoding, CancellationToken cancellationToken = null) | Asynchronously returns the stream content as a string using the specified encoding. |
Task<string> StreamToTextAsync(Stream stream, Encoding encoding, CancellationToken cancellationToken = null)
csharp
Task<string> StreamToTextAsync(Stream stream, Encoding encoding, CancellationToken cancellationToken = null)Asynchronously returns the stream content as a string using the specified encoding.
Task<string> StreamToTextAsync(Stream stream, CancellationToken cancellationToken = null)
csharp
Task<string> StreamToTextAsync(Stream stream, CancellationToken cancellationToken = null)Asynchronously returns the stream content as a string.