Module header
Source Expand description
- decode
- 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.