Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: Task<byte[]> ReadAllBytesAsync(this Stream, CancellationToken?)

Declaration

public static Task<byte[]> ReadAllBytesAsync(
    this Stream stream,
    CancellationToken? token = null
)

Summary

Reads all bytes until the end of stream and returns them in a byte array.