Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PipeWriter.Advance(Int32) Method

Definition

Namespace:
System.IO.Pipelines
Assembly:
System.IO.Pipelines.dll
Package:
System.IO.Pipelines v11.0.0-preview.5.26302.115
Source:
PipeWriter.cs
Source:
PipeWriter.cs
Source:
PipeWriter.cs
Source:
PipeWriter.cs
Source:
PipeWriter.cs
Source:
PipeWriter.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?