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.
Attempts to create an object of type T by reading the required data from the supplied JsValue.
Attempts to create an object of type T by reading the required data from the supplied JsValue.
Attempts to create an object of type T by reading the required data from the supplied JSON String.
Attempts to create an object of type T by reading the required data from the supplied JSON String.
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.
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.
Output buffering is dependent upon the supplied OutputStream
.
The caller is responsible for calling flush
; this method
does NOT flush the target stream.
Returns a serialized representation of the supplied object according to the Avro specification for JSON encoding.
Returns a serialized representation of the supplied object according to the Avro specification for JSON encoding. Throws an AvroSerializationException if writing is unsuccessful.