encodeNullableSerializableValue

Encodes the nullable value of type T by delegating the encoding process to the given serializer.