Relative Content

Tag Archive for compression

Why store hash of decompressed data?

I don’t know anything about compression so I’m trying to learn about them. In the LZAV compression library API there is a comment for the decompress function which advises to store a hash of the original (uncompressed) data, so that after decompressing you can then check the validity of it (ie., that the decompression process was successful). The comment: