Function git_pack::loose::object::header::decode [−][src]
Expand description
Decode a loose object header, being <kind> <size>\0, returns (Kind, size, consumed bytes).
size is the uncompressed size of the payload in bytes.