A typesafe wrapper around DefaultWriter. While a specific object of DefaultWriter allows the client to serialize a generic type, an object of this class allows only a single type of object to be serialized through it.
More...
A typesafe wrapper around DefaultWriter. While a specific object of DefaultWriter allows the client to serialize a generic type, an object of this class allows only a single type of object to be serialized through it.
- Template Parameters
-
T | The type of object to be serialized. |
void Avro.Generic.GenericWriter< T >.Write |
( |
T |
value, |
|
|
Encoder |
encoder |
|
) |
| |
|
inline |
Serializes the given object using this writer's schema.
- Parameters
-
value | The value to be serialized |
encoder | The encoder to use for serializing |
Implements Avro.Generic.DatumWriter< T >.
The documentation for this class was generated from the following file:
- src/apache/main/Generic/GenericWriter.cs