Skip to content

UInt16Codec.WriteField(Writer<TBufferWriter>, uint, Type, ushort, Type)

WriteField(Writer<TBufferWriter>, uint, Type, ushort, Type)

static
View source
public static void WriteField<TBufferWriter>(ref Writer<TBufferWriter> writer, uint fieldIdDelta, Type expectedType, ushort value, Type actualType)
Writes a field.

Parameters

writerWriter<TBufferWriter>
The writer.
fieldIdDeltauint
The field identifier delta.
expectedTypeType
The expected type.
valueushort
The value.
actualTypeType
The actual type.