Edit

Share via


PrefixingBufferWriter<T,TBufferWriter>.Complete Method

Definition

Inserts the prefix and commits the payload to the underlying IBufferWriter<T>.

public void Complete (ReadOnlySpan<T> prefix);
member this.Complete : ReadOnlySpan<'T> -> unit
Public Sub Complete (prefix As ReadOnlySpan(Of T))

Parameters

prefix
ReadOnlySpan<T>

The prefix to write in. The length must match the one given in the constructor.

Applies to