read_headers

Function read_headers 

Source
pub fn read_headers(
    input: &[u8],
) -> MPQResult<&[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.