Commit Graph

3 Commits

Author SHA1 Message Date
Billy Keyes 8ce8cba533 Fix binary chunk decoding and inflating
Git uses a unique Base85 encoding with different characters than the
ascii85 encoding implemented by Go, so add a custom decoding function.
Once decoded, use zlib instead of the raw DEFLATE algorithm to
decompress the data.

These issues were caught by some basic parsing tests which are added
here as well.
2019-04-13 22:32:25 -07:00
Billy Keyes 22fb5076be Add test for binary fragment header parsing 2019-04-13 15:54:52 -07:00
Billy Keyes 0cfd720d4f Add test for binary marker parsing 2019-04-10 23:02:48 -07:00