/// <param name="consumed">Marks the extent of the data that has been successfully processed.</param>
/// <remarks>
/// The memory for the consumed data will be released and no longer available.
+ /// The <see cref="ReadResult.Buffer" /> previously returned from <see cref="ReadAsync(CancellationToken)" /> must not be accessed after this call.
/// The examined data communicates to the pipeline when it should signal more data is available.
/// </remarks>
public abstract void AdvanceTo(SequencePosition consumed);
/// <param name="examined">Marks the extent of the data that has been read and examined.</param>
/// <remarks>
/// The memory for the consumed data will be released and no longer available.
+ /// The <see cref="ReadResult.Buffer" /> previously returned from <see cref="ReadAsync(CancellationToken)" /> must not be accessed after this call.
/// The examined data communicates to the pipeline when it should signal more data is available.
/// </remarks>
public abstract void AdvanceTo(SequencePosition consumed, SequencePosition examined);