UInt64Codec.WriteField 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, UInt64) |
写入不包含类型信息的字段, (预期类型是静态已知的) 。 |
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, UInt64, Type) |
写入字段。 |
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, UInt64)
写入不包含类型信息的字段, (预期类型是静态已知的) 。
public static void WriteField<TBufferWriter> (ref Orleans.Serialization.Buffers.Writer<TBufferWriter> writer, uint fieldIdDelta, ulong value) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
static member WriteField : Writer * uint32 * uint64 -> 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 ULong)
类型参数
- TBufferWriter
缓冲区编写器类型。
参数
- writer
- Writer<TBufferWriter>
编写器。
- fieldIdDelta
- UInt32
字段标识符增量。
- value
- UInt64
值。
适用于
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, UInt64, Type)
写入字段。
public static void WriteField<TBufferWriter> (ref Orleans.Serialization.Buffers.Writer<TBufferWriter> writer, uint fieldIdDelta, Type expectedType, ulong value, Type actualType) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
static member WriteField : Writer * uint32 * Type * uint64 * 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 ULong, actualType As Type)
类型参数
- TBufferWriter
缓冲区编写器类型。
参数
- writer
- Writer<TBufferWriter>
编写器。
- fieldIdDelta
- UInt32
字段标识符增量。
- expectedType
- Type
预期的类型。
- value
- UInt64
值。
- actualType
- Type
实际类型。