pub fn hash_object_bytes( kind: ObjectKind, data: &[u8], hash_bytes: usize, ) -> Result<Vec<u8>>
Hash canonical loose object bytes (kind SP size NUL data) with the repo hash width.
kind SP size NUL data