Returns the corresponding AvroType to this AvroTypeIO wrapper.
Returns the corresponding AvroType to this AvroTypeIO wrapper.
Reads a binary representation of the underlying Scala type from the supplied stream.
Reads a binary representation of the underlying Scala type from the supplied stream.
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.
Writes a binary representation of the supplied object to the supplied stream.
Writes a binary representation of the supplied object to the supplied stream.
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.