Compress with zstd
Use content defined chunking
WIP add content defined chunking
WIP add content defined chunking
Unless I'm mistaken, it look to me that you might be feeding data twice to the chunker: when a chunk is taken from buf, some remaining data stays in buf. At the next iteration, the whole buf will…
WIP add content defined chunking