Returns the corresponding AvroType to this AvroTypeIO wrapper.
Returns the corresponding AvroType to this AvroTypeIO wrapper.
Attempts to create an object of type T by reading the required data from the supplied decoder.
Attempts to create an object of type T by reading the required data from the supplied decoder.
Attempts to create an object of type T by reading the required data from the supplied binary stream.
Attempts to create an object of type T by reading the required data from the supplied binary stream.
a boolean is written as a single byte whose value is either 0 (false) or 1 (true).
a boolean is written as a single byte whose value is either 0 (false) or 1 (true).
Writes a serialized representation of the supplied object according to the Avro specification for binary encoding.
Writes a serialized representation of the supplied object according to the Avro specification for binary encoding. Throws an AvroSerializationException if writing is unsuccessful.