CachingStream.ReadAsync method (1 of 2)

Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.

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

See Also


CachingStream.ReadAsync method (2 of 2)

Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.

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

See Also