pub fn read_header_info<R: BufRead>(reader: R) -> Result<HeaderInfo, AvroError>Expand description
Reads the Avro file header (magic, metadata, sync marker) from reader.
On success, returns the parsed HeaderInfo containing the header and its length in bytes.