Serializes a value to a stream using UTF-8 encoding and an explicit input type.
public static void Serialize(Stream utf8Stream, object? value, Type inputType, YamlSerializerOptions? options = null)
The destination stream.
The value to serialize.
The declared input type.
The serializer options. If null, Default is used.