Serializes a value to an IBufferWriter<T> destination using an explicit input type and generated metadata from a serializer context.
public static void Serialize(IBufferWriter<char> destination, object? value, Type inputType, YamlSerializerContext context)
The destination buffer writer.
The value to serialize.
The declared input type.
The source-generated serializer context.