Compartilhar via


BuffersExtensions.Write<T> Método

Definição

Grava o conteúdo de value em writer.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void Write(System::Buffers::IBufferWriter<T> ^ writer, ReadOnlySpan<T> value);
public static void Write<T> (this System.Buffers.IBufferWriter<T> writer, ReadOnlySpan<T> value);
static member Write : System.Buffers.IBufferWriter<'T> * ReadOnlySpan<'T> -> unit
<Extension()>
Public Sub Write(Of T) (writer As IBufferWriter(Of T), value As ReadOnlySpan(Of T))

Parâmetros de tipo

T

O tipo dos itens no ReadOnlySpan<T>.

Parâmetros

writer
IBufferWriter<T>

O gravador de buffer no qual gravar value.

value
ReadOnlySpan<T>

A extensão somente leitura a ser gravada em writer.

Exceções

writer é menor do que value.

Aplica-se a