public class Compressor
extends java.lang.Object
| Constructor and Description |
|---|
Compressor() |
| Modifier and Type | Method and Description |
|---|---|
static long[] |
interpol_decode(byte[] data)
Return an array containing the number sequence decompressed from data.
|
static byte[] |
interpol_encode(long[] data,
int begin,
int end)
Return a byte array representing the compressed sequence
[data[begin]; data[end-1]]
|
public static byte[] interpol_encode(long[] data,
int begin,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic static long[] interpol_decode(byte[] data)
throws java.lang.Exception
java.lang.Exception