public override PipeAwaiter <ReadResult> ReadAsync(CancellationToken cancellationToken = default) { return(_pipe.ReadAsync(cancellationToken)); }
public override ValueTask <ReadResult> ReadAsync(CancellationToken cancellationToken = default) => _pipe.ReadAsync(cancellationToken);
/// <summary> /// Asynchronously reads a sequence of bytes from the current <see cref="PipelineReader"/>. /// </summary> /// <returns>A <see cref="ReadableBufferAwaitable"/> representing the asynchronous read operation.</returns> public ReadableBufferAwaitable ReadAsync() => _pipe.ReadAsync();