Function nom_mpq::parser::read_headers
source · pub fn read_headers(
input: &[u8]
) -> IResult<&[u8], (MPQFileHeader, Option<MPQUserData>)>
Expand description
Reads the file headers, headers must contain the Archive File Header but they may optionally contain the User Data Headers.