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.
pub fn read_headers(
input: &[u8],
) -> MPQResult<&[u8], (MPQFileHeader, Option<MPQUserData>)>
Reads the file headers, headers must contain the Archive File Header but they may optionally contain the User Data Headers.