pub(crate) fn parse<R: io::Read>(reader: &mut Reader<R>) -> io::Result<ExtHeader> {
        let mut extheader = ExtHeader {
            identifier: reader.read_u32_be()?,
            header_length: reader.read_u32_be()?,
            record_count: reader.read_u32_be()?,
            records: IndexMap::new(),
        };

        extheader.populate_records(reader)?;
        Ok(extheader)
    }
/// Parse a EXTH header from the content. Reader must be at starting
/// location of exth header.
Parse a EXTH header from the content. Reader must be at starting
location of exth header.
Parse a EXTH header from the content . Reader must be at starting location of exth header .
pub(crate) fn parse<R: io::Read>(reader: &mut Reader<R>) -> io::Result<ExtHeader> {
        let mut extheader = ExtHeader {
            identifier: reader.read_u32_be()?,
            header_length: reader.read_u32_be()?,
            record_count: reader.read_u32_be()?,
            records: IndexMap::new(),
        };
        extheader.populate_records(reader)?;
        Ok(extheader)
    }
pub ( crate ) fn parse < R : io :: Read > ( reader : & mut Reader < R > ) -> io :: Result < ExtHeader > { let mut extheader = ExtHeader { identifier : reader . read_u32_be ( ) ? , header_length : reader . read_u32_be ( ) ? , record_count : reader . read_u32_be ( ) ? , records : IndexMap :: new ( ) , } ; extheader . populate_records ( reader ) ? ; Ok ( extheader ) }
Parse a EXTH header from the content.
Parse a EXTH header from the content .
reader
&mut Reader<R>
reader
&mut Reader<R>