Partager via


IBaseCodec<T>.Serialize<TBufferWriter> Méthode

Définition

Sérialise la valeur fournie.

public void Serialize<TBufferWriter> (ref Orleans.Serialization.Buffers.Writer<TBufferWriter> writer, T value) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
abstract member Serialize : Writer * 'T -> unit (requires 'BufferWriter :> System.Buffers.IBufferWriter<byte>)
Public Sub Serialize(Of TBufferWriter As IBufferWriter(Of Byte)) (ByRef writer As Writer(Of TBufferWriter), value As T)

Paramètres de type

TBufferWriter

Type d’enregistreur de mémoire tampon.

Paramètres

writer
Writer<TBufferWriter>

Enregistreur.

value
T

La valeur.

S’applique à