Module header

Source
Expand description

Modules§

decode

Functions§

decode
Parses the first 12 bytes of a pack file, returning the pack version as well as the number of objects contained in the pack.
encode
Write a pack data header at version with num_objects and return a buffer.