[](https://crates.io/crates/hcompress)
[](https://github.com/petesmc/hcompress/actions)
[](https://docs.rs/hcompress/)
[](https://codecov.io/gh/petesmc/hcompress)
[](https://deps.rs/repo/github/petesmc/hcompress)
Based on the CFITSIO version of the HCompress library
See licenses.
Paper detailing algorithms
https://fits.gsfc.nasa.gov/registry/tilecompression/tilecompression2.3.pdf
Original Library
https://www.stsci.edu/software/hcompress.html
NOTE: The non-'64' functions support shorts padded to int, and the '64' functions support int padded to long, as per the original implementation.