WriteStartUnion(Writer<TBufferWriter>, uint, Type?, Type)
staticextension
public static void WriteStartUnion<TBufferWriter>(this ref Writer<TBufferWriter> writer, uint fieldIdDelta, Type? expectedType, Type unionType) Writes the header of a tagged-union field.
Parameters
writerWriter<TBufferWriter>- The writer.
fieldIdDeltauint- The field identifier delta.
expectedTypeType?- The expected type.
unionTypeType- The union type or closed base type.
