public class Simple16 extends Object
Constructor and Description |
---|
Simple16() |
Modifier and Type | Method and Description |
---|---|
static int |
s16Compress(int[] out,
int outOffset,
int[] in,
int inOffset,
int n,
int blockSize)
Compress an integer array using Simple16
|
static int |
s16Decompress(int[] out,
int outOffset,
int[] in,
int inOffset,
int n)
Decompress an integer array using Simple16
|
public static final int s16Compress(int[] out, int outOffset, int[] in, int inOffset, int n, int blockSize)
out
- the compressed outputoutOffset
- the offset of the output in the number of integersin
- the integer input arrayinOffset
- the offset of the input in the number of integersn
- the number of elements to be compressedblockSize
- block sizepublic static final int s16Decompress(int[] out, int outOffset, int[] in, int inOffset, int n)
out
- the decompressed outputoutOffset
- the offset of the output in the number of integersin
- the compressed input arrayinOffset
- the offset of the input in the number of integersn
- the number of elements to be compressedCopyright © 2014. All Rights Reserved.