IBufferWriter<T>.Advance(Int32) Method
Definition
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 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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.