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
實際類型。