valyala / gozstd

go wrapper for zstd
MIT License
420 stars 60 forks source link

checksum support? #16

Open yasushi-saito opened 4 years ago

yasushi-saito commented 4 years ago

Is it possible to support checksumming? Zstd has an entry point

size_t ZSTD_compress_advanced(ZSTD_CCtx cctx, void dst, size_t dstCapacity, const void src, size_t srcSize, const void dict,size_t dictSize, ZSTD_parameters params);

that allows adding a checksum in the trailer. It would be great if gozstd supports it.