ygrek / ocaml-zstd

OCaml bindings to Zstandard (http://zstd.net)
21 stars 7 forks source link

Add option to include checksum to compressed bytes? #10

Open zoj613 opened 1 month ago

zoj613 commented 1 month ago

As the title says. It appears some implementations support a flag to include a checksum in the compressed bytes that is used to verify decompressed bytes. I believe its supported by the ZSTD_c_checksumFlag=201 flag in the Zstd manual. How easy would it be for this library to support this feature?

ygrek commented 1 month ago

patches welcome