Compartir a través de


Int32Codec.WriteField Método

Definición

Sobrecargas

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

Escribe un campo sin información de tipo (el tipo esperado se conoce estáticamente).

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

Escribe un campo.

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

Escribe un campo sin información de tipo (el tipo esperado se conoce estáticamente).

public static void WriteField<TBufferWriter> (ref Orleans.Serialization.Buffers.Writer<TBufferWriter> writer, uint fieldIdDelta, int value) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
static member WriteField : Writer * uint32 * int -> 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 Integer)

Parámetros de tipo

TBufferWriter

Tipo de escritor de búfer.

Parámetros

writer
Writer<TBufferWriter>

El escritor.

fieldIdDelta
UInt32

Delta del identificador de campo.

value
Int32

Valor.

Se aplica a

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

Escribe un campo.

public static void WriteField<TBufferWriter> (ref Orleans.Serialization.Buffers.Writer<TBufferWriter> writer, uint fieldIdDelta, Type expectedType, int value, Type actualType) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
static member WriteField : Writer * uint32 * Type * int * 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 Integer, actualType As Type)

Parámetros de tipo

TBufferWriter

Tipo de escritor de búfer.

Parámetros

writer
Writer<TBufferWriter>

El escritor.

fieldIdDelta
UInt32

Delta del identificador de campo.

expectedType
Type

Tipo esperado.

value
Int32

Valor.

actualType
Type

Tipo real.

Se aplica a