Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Compress bytes using LZ4.
A higher acceleration factor increases speed but decreases
compression. This function has undefined
behavior on byte sequences larger than 2,113,929,216 bytes.
This calls LZ4_compress_default
.
Variant of compress
with an unsliced result.
Compress bytes using LZ4's HC algorithm. This is slower
than compress
but provides better compression. A higher
compression level increases compression but decreases speed.
This function has undefined behavior on byte sequences larger
than 2,113,929,216 bytes. This calls LZ4_compress_HC
.
Variant of compressHighly
with an unsliced result.
Decompress a byte sequence. Fails if the actual decompressed result does not match the given expected length.
Variant of decompress
with an unsliced result.