Uredi

Deli z drugimi prek


PipeWriter.Advance(Int32) Method

Definition

Notifies the PipeWriter that bytes bytes were written to the output Span<T> or Memory<T>. You must call GetSpan(Int32) or GetMemory(Int32) again and use the returned buffer to continue writing more data after calling Advance(Int32); you cannot write to a previously acquired buffer.

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

Parameters

bytes
Int32

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

Implements

Applies to