Partager via


SByteCodec.WriteField Méthode

Définition

Surcharges

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, SByte)

Écrit un champ sans informations de type (le type attendu est statiquement connu).

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, SByte, Type)

Écrit un champ.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, SByte)

Écrit un champ sans informations de type (le type attendu est statiquement connu).

public static void WriteField<TBufferWriter> (ref Orleans.Serialization.Buffers.Writer<TBufferWriter> writer, uint fieldIdDelta, sbyte value) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
static member WriteField : Writer * uint32 * sbyte -> unit (requires 'BufferWriter :> System.Buffers.IBufferWriter<byte>)
Public Shared Sub WriteField(Of TBufferWriter As IBufferWriter(Of Byte)) (ByRef writer As Writer(Of TBufferWriter), fieldIdDelta As UInteger, value As SByte)

Paramètres de type

TBufferWriter

Type d’enregistreur de mémoire tampon.

Paramètres

writer
Writer<TBufferWriter>

Enregistreur.

fieldIdDelta
UInt32

Delta de l’identificateur de champ.

value
SByte

La valeur.

S’applique à

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, SByte, Type)

Écrit un champ.

public static void WriteField<TBufferWriter> (ref Orleans.Serialization.Buffers.Writer<TBufferWriter> writer, uint fieldIdDelta, Type expectedType, sbyte value, Type actualType) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
static member WriteField : Writer * uint32 * Type * sbyte * Type -> unit (requires 'BufferWriter :> System.Buffers.IBufferWriter<byte>)
Public Shared Sub WriteField(Of TBufferWriter As IBufferWriter(Of Byte)) (ByRef writer As Writer(Of TBufferWriter), fieldIdDelta As UInteger, expectedType As Type, value As SByte, actualType As Type)

Paramètres de type

TBufferWriter

Type d’enregistreur de mémoire tampon.

Paramètres

writer
Writer<TBufferWriter>

Enregistreur.

fieldIdDelta
UInt32

Delta de l’identificateur de champ.

expectedType
Type

Type attendu.

value
SByte

La valeur.

actualType
Type

Type réel.

S’applique à