Write a Vala T directly through the selected format's writer.
For example, Int32Codec.encode passes int 42 to ValueWriter.write_integer. It returns no value: the writer receives the output. Workers use this method for roots, and the base encode_value calls it for properties.