pub fn parse_header(i: &[u8]) -> IResult<&[u8], Header, (&[u8], ErrorKind)>
Expand description
Parses a header.
This is always the first item of the file. This amongst other information extracts the
endianness and whether the time is expressed in micro or nano-second from the magic number
™ .