TruncatedStream.ReadAsync method (1 of 2)

Reads from the stream asynchronously.

public override ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken)

See Also


TruncatedStream.ReadAsync method (2 of 2)

Reads from the stream asynchronously.

public override Task<int> ReadAsync(byte[] buffer, int offset, int count, 
    CancellationToken cancellationToken)

See Also