public interface ByteIntegerCODEC
| Modifier and Type | Method and Description |
|---|---|
void |
compress(int[] in,
IntWrapper inpos,
int inlength,
byte[] out,
IntWrapper outpos)
Compress data from an array to another array.
|
void |
uncompress(byte[] in,
IntWrapper inpos,
int inlength,
int[] out,
IntWrapper outpos)
Uncompress data from an array to another array.
|
void compress(int[] in,
IntWrapper inpos,
int inlength,
byte[] out,
IntWrapper outpos)
in - input arrayinpos - location in the input arrayinlength - how many integers to compressout - output arrayoutpos - where to write in the output arrayvoid uncompress(byte[] in,
IntWrapper inpos,
int inlength,
int[] out,
IntWrapper outpos)
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 outCopyright © 2015. All Rights Reserved.