Function avro_schema::read::read_metadata
source · [−]pub fn read_metadata<R: Read>(reader: &mut R) -> Result<FileMetadata, Error>
Expand description
Reads the metadata from reader
into FileMetadata
.
Error
This function errors iff the header is not a valid avro file header.