Function git_object::decode::loose_header
source · [−]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.