public interface SkippableIntegratedIntegerCODEC
Modifier and Type | Method and Description |
---|---|
void |
headlessCompress(int[] in,
IntWrapper inpos,
int inlength,
int[] out,
IntWrapper outpos,
IntWrapper initvalue)
Compress data from an array to another array.
|
void |
headlessUncompress(int[] in,
IntWrapper inpos,
int inlength,
int[] out,
IntWrapper outpos,
int num,
IntWrapper initvalue)
Uncompress data from an array to another array.
|
void headlessCompress(int[] in, IntWrapper inpos, int inlength, int[] out, IntWrapper outpos, IntWrapper initvalue)
in
- input arrayinpos
- location in the input arrayinlength
- how many integers to compressout
- output arrayoutpos
- where to write in the output arrayinitvalue
- initial value for the purpose of differential coding, the value is automatically updatedvoid headlessUncompress(int[] in, IntWrapper inpos, int inlength, int[] out, IntWrapper outpos, int num, IntWrapper initvalue)
in
- array containing data in compressed forminpos
- where to start reading in the arrayinlength
- length of the compressed data (ignored by some schemes)out
- array where to write the compressed outputoutpos
- where to write the compressed output in outnum
- number of integers we want to decode, the actual number of integers decoded can be lessinitvalue
- initial value for the purpose of differential coding, the value is automatically updatedCopyright © 2014. All Rights Reserved.