pub fn from_avro_datum<R: Read>( writer_schema: &Schema, reader: &mut R, reader_schema: Option<&Schema> ) -> AvroResult<Value>
Value encoded in Avro format given its
Schema and anything implementing
to read from.
In case a reader
Schema is provided, schema resolution will also be performed.
NOTE This function has a quite small niche of usage and does NOT take care of reading the
header and consecutive data blocks; use
Reader if you don’t know what
you are doing, instead.