LZ4.S
compress_into input output
places LZ4-compressed input
into output
and returns the length of compressed output or raises Input_too_large
if input
is longer than 0x7E000000
bytes or output
is not long enough to contain the compressed input
.
This function does not allocate.
compress input
returns LZ4-compressed input
or raises Input_too_large
if input
is longer than 0x7E000000
bytes.
decompress_into input output
places LZ4-decompressed input
into output
or raises Corrupted
if input
does not constitute a valid LZ4-compressed stream which uncompresses into the amount of bytes available in output
or less.
This function does not allocate.