public abstract class IntPacker extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
getBitWidth() |
abstract void |
pack32Values(int[] input,
int inPos,
int[] output,
int outPos)
pack 32 values from input at inPos into bitWidth ints in output at outPos.
|
abstract void |
unpack32Values(int[] input,
int inPos,
int[] output,
int outPos)
unpack bitWidth ints from input at inPos into 32 values in output at outPos.
|
public final int getBitWidth()
public abstract void pack32Values(int[] input,
int inPos,
int[] output,
int outPos)
input - the input valuesinPos - where to read from in inputoutput - the output intsoutPos - where to write to in outputpublic abstract void unpack32Values(int[] input,
int inPos,
int[] output,
int outPos)
input - the input intinPos - where to read from in inputoutput - the output valuesoutPos - where to write to in outputCopyright © 2018 The Apache Software Foundation. All rights reserved.