Skip to content

Codec_AddAndThrowException.WriteField(Writer<TBufferWriter>, uint, Type, AddAndThrowException)

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

public void WriteField<TBufferWriter>(ref Writer<TBufferWriter> writer, uint fieldIdDelta, Type expectedType, AddAndThrowException value)
Writes a field.

Parameters

writerWriter<TBufferWriter>
The writer.
fieldIdDeltauint
The field identifier delta.
expectedTypeType
The expected type.
valueAddAndThrowException
The value.