gix_pack::data::header

Function encode

Source
pub fn encode(version: Version, num_objects: u32) -> [u8; 12]
Expand description

Write a pack data header at version with num_objects and return a buffer.