Package org.hpccsystems.commons.fastlz4j
Class FastLZ4j
- java.lang.Object
-
- org.hpccsystems.commons.fastlz4j.FastLZ4j
-
public class FastLZ4j extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FastLZ4j.DecompressionState
-
Constructor Summary
Constructors Constructor Description FastLZ4j()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
compress(byte[] input, byte[] output)
static int
compress_level(int level, byte[] input, byte[] output)
static int
decompress(byte[] input, int inputLength, byte[] output)
static boolean
decompress_streaming(FastLZ4j.DecompressionState state, byte[] input, int inputAvailableLength, byte[] output)
-
-
-
Method Detail
-
compress
public static int compress(byte[] input, byte[] output)
-
decompress
public static int decompress(byte[] input, int inputLength, byte[] output)
-
decompress_streaming
public static boolean decompress_streaming(FastLZ4j.DecompressionState state, byte[] input, int inputAvailableLength, byte[] output) throws Exception
- Throws:
Exception
-
compress_level
public static int compress_level(int level, byte[] input, byte[] output)
-
-