Serializes a nullable string.
The encoder used to write the serialized output.
The nullable string value to be serialized.