avro_schema::read

Function 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.