LZ4 functions.