Function gix_pack::data::header::decode

source ·
pub fn decode(data: &[u8; 12]) -> Result<(Version, u32), Error>
Expand description

Parses the first 12 bytes of a pack file, returning the pack version as well as the number of objects contained in the pack.