Updated LZ4F API : differentiate resource/compression functions