Partager via


BufferWriterExtensions.CreateWriter<TBufferWriter> Méthode

Définition

Crée une Writer<TBufferWriter> instance pour la mémoire tampon fournie.

public static Orleans.Serialization.Buffers.Writer<TBufferWriter> CreateWriter<TBufferWriter> (this TBufferWriter buffer, Orleans.Serialization.Session.SerializerSession session) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
static member CreateWriter : 'BufferWriter * Orleans.Serialization.Session.SerializerSession -> Orleans.Serialization.Buffers.Writer<'BufferWriter (requires 'BufferWriter :> System.Buffers.IBufferWriter<byte>)> (requires 'BufferWriter :> System.Buffers.IBufferWriter<byte>)
<Extension()>
Public Function CreateWriter(Of TBufferWriter As IBufferWriter(Of Byte)) (buffer As TBufferWriter, session As SerializerSession) As Writer(Of TBufferWriter)

Paramètres de type

TBufferWriter

Type de l’enregistreur de mémoire tampon.

Paramètres

buffer
TBufferWriter

Mémoire tampon.

session
SerializerSession

Session.

Retours

Un nouvel écrivain.

S’applique à