You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The zstd_safe::CParameter::ChecksumFlag can be used when compressing to include a single 32-bit checksum (of the original, uncompressed content) per frame (at the end of the frame). In general there is one frame per file, but that's not enforced. It's possible for some files to be a series of zstd frames (by default the decoder just concatenates the decompressed content); each frame would have its own checksum.
The checksum uses xxh64 (from xxHash).
When decompressing, checksums are automatically checked if present.
To "test" a file, you can "decompress" it and throw away the result; it will check that the decompressed content matches the checksum and return an error if it doesn't.
Hi,
I am using zstd for very large files and checksum feature is important for my use case. I need more information on how to use this feature:
The text was updated successfully, but these errors were encountered: