pub(crate) fn parse<R: io::Read>(reader: &mut Reader<R>) -> io::Result<PalmDocHeader> {
        Ok(PalmDocHeader {
            compression: reader.read_u16_be()?,
            unused0: reader.read_u16_be()?,
            text_length: reader.read_u32_be()?,
            record_count: reader.read_u16_be()?,
            record_size: reader.read_u16_be()?,
            encryption: reader.read_u16_be()?,
            unused1: reader.read_u16_be()?,
        })
    }
/// Parse a PalmDOC header from a reader. Reader must be advanced to the starting position
/// of the PalmDocHeader, at byte 80 + 8 * num_records.
Parse a PalmDOC header from a reader. Reader must be advanced to the starting position
of the PalmDocHeader, at byte 80 + 8 * num_records.
Parse a PalmDOC header from a reader . Reader must be advanced to the starting position of the PalmDocHeader at byte 80 + 8 * num_records .
pub(crate) fn parse<R: io::Read>(reader: &mut Reader<R>) -> io::Result<PalmDocHeader> {
        Ok(PalmDocHeader {
            compression: reader.read_u16_be()?,
            unused0: reader.read_u16_be()?,
            text_length: reader.read_u32_be()?,
            record_count: reader.read_u16_be()?,
            record_size: reader.read_u16_be()?,
            encryption: reader.read_u16_be()?,
            unused1: reader.read_u16_be()?,
        })
    }
pub ( crate ) fn parse < R : io :: Read > ( reader : & mut Reader < R > ) -> io :: Result < PalmDocHeader > { Ok ( PalmDocHeader { compression : reader . read_u16_be ( ) ? , unused0 : reader . read_u16_be ( ) ? , text_length : reader . read_u32_be ( ) ? , record_count : reader . read_u16_be ( ) ? , record_size : reader . read_u16_be ( ) ? , encryption : reader . read_u16_be ( ) ? , unused1 : reader . read_u16_be ( ) ? , } ) }
Parse a PalmDOC header from a reader.
Parse a PalmDOC header from a reader .
reader
&mut Reader<R>
reader
&mut Reader<R>