Upraviť

Zdieľať cez


IBufferWriter<T>.Advance(Int32) Method

Definition

Notifies the IBufferWriter<T> that count data items were written to the output Span<T> or Memory<T>.

public:
 void Advance(int count);
public void Advance (int count);
abstract member Advance : int -> unit
Public Sub Advance (count As Integer)

Parameters

count
Int32

The number of data items written to the Span<T> or Memory<T>.

Remarks

You must request a new buffer after calling Advance to continue writing more data; you cannot write to a previously acquired buffer.

Applies to