public final class DeltaZigzagVariableByte extends Object implements IntegerCODEC
| Constructor and Description |
|---|
DeltaZigzagVariableByte() |
| Modifier and Type | Method and Description |
|---|---|
void |
compress(int[] inBuf,
IntWrapper inPos,
int inLen,
int[] outBuf,
IntWrapper outPos)
Compress data from an array to another array.
|
String |
toString() |
void |
uncompress(int[] inBuf,
IntWrapper inPos,
int inLen,
int[] outBuf,
IntWrapper outPos)
Uncompress data from an array to another array.
|
public void compress(int[] inBuf,
IntWrapper inPos,
int inLen,
int[] outBuf,
IntWrapper outPos)
IntegerCODECcompress in interface IntegerCODECinBuf - input arrayinPos - location in the input arrayinLen - how many integers to compressoutBuf - output arrayoutPos - where to write in the output arraypublic void uncompress(int[] inBuf,
IntWrapper inPos,
int inLen,
int[] outBuf,
IntWrapper outPos)
IntegerCODECuncompress in interface IntegerCODECinBuf - array containing data in compressed forminPos - where to start reading in the arrayinLen - length of the compressed data (ignored by some
schemes)outBuf - array where to write the compressed outputoutPos - where to write the compressed output in outCopyright © 2015. All Rights Reserved.