StreamHelperExtensions Class¶
- Namespace
Microsoft.AspNetCore.WebUtilities
- Assemblies
- Microsoft.AspNetCore.WebUtilities
Syntax¶
public class StreamHelperExtensions
-
class
Microsoft.AspNetCore.WebUtilities.
StreamHelperExtensions
Methods¶
-
DrainAsync
(System.IO.Stream, System.Buffers.ArrayPool<System.Byte>, System.Nullable<System.Int64>, System.Threading.CancellationToken)¶ Return type: System.Threading.Tasks.Task public static Task DrainAsync(this Stream stream, ArrayPool<byte> bytePool, long ? limit, CancellationToken cancellationToken)
-
DrainAsync
(System.IO.Stream, System.Nullable<System.Int64>, System.Threading.CancellationToken) Return type: System.Threading.Tasks.Task public static Task DrainAsync(this Stream stream, long ? limit, CancellationToken cancellationToken)
-
DrainAsync
(System.IO.Stream, System.Threading.CancellationToken) Return type: System.Threading.Tasks.Task public static Task DrainAsync(this Stream stream, CancellationToken cancellationToken)
-