| Modifier and Type | Field and Description |
|---|---|
| private static BitShuffleNative | impl
An instance of BitShuffleNative |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | Returns: byte size of the shuffled data.buffer[pos() ... limit()) containing the input data input, BitShuffleType element type of the input data type, ByteBuffer output of the shuffled data. Uses range [pos()..]. shuffled)Apply a bit-shuffling filter into the content in the given input buffer. |
| public static byte[] | Returns: bit-shuffled byte arrayApply a bit-shuffling filter into the input short array. |
| public static byte[] | Returns: bit-shuffled byte arrayApply a bit-shuffling filter into the input int array. |
| public static byte[] | Returns: bit-shuffled byte arrayApply a bit-shuffling filter into the input long array. |
| public static byte[] | Returns: bit-shuffled byte arrayApply a bit-shuffling filter into the input float array. |
| public static byte[] | Returns: bit-shuffled byte arrayApply a bit-shuffling filter into the input double array. |
| public static int | Returns: byte size of the unshuffled data.buffer[pos() ... limit()) containing the input shuffled data shuffled, BitShuffleType element type of the input data type, ByteBuffer output of the the original data. It uses buffer[pos()..] output)Convert the input bit-shuffled byte array into an original array. |
| public static double[] | Returns: a double arrayConvert the input bit-shuffled byte array into an original double array. |
| public static float[] | Returns: an float arrayConvert the input bit-shuffled byte array into an original float array. |
| public static int[] | Returns: an int arrayConvert the input bit-shuffled byte array into an original int array. |
| public static long[] | Returns: a long arrayConvert the input bit-shuffled byte array into an original long array. |
| public static short[] | Returns: a short arrayConvert the input bit-shuffled byte array into an original short array. |
| impl | back to summary |
|---|---|
| private static BitShuffleNative impl An instance of BitShuffleNative | |
| BitShuffle | back to summary |
|---|---|
| public BitShuffle() | |
| shuffle | back to summary |
|---|---|
| public static int shuffle(ByteBuffer input, BitShuffleType type, ByteBuffer shuffled) throws IOException Apply a bit-shuffling filter into the content in the given input buffer. After bit-shuffling, you can retrieve the shuffled data from the output buffer [pos() ...limit()) (shuffled data size = limit() - pos() = remaining()).
| |
| shuffle | back to summary |
|---|---|
| public static byte[] shuffle(short[] input) throws IOException Apply a bit-shuffling filter into the input short array.
| |
| shuffle | back to summary |
|---|---|
| public static byte[] shuffle(int[] input) throws IOException Apply a bit-shuffling filter into the input int array.
| |
| shuffle | back to summary |
|---|---|
| public static byte[] shuffle(long[] input) throws IOException Apply a bit-shuffling filter into the input long array.
| |
| shuffle | back to summary |
|---|---|
| public static byte[] shuffle(float[] input) throws IOException Apply a bit-shuffling filter into the input float array.
| |
| shuffle | back to summary |
|---|---|
| public static byte[] shuffle(double[] input) throws IOException Apply a bit-shuffling filter into the input double array.
| |
| unshuffle | back to summary |
|---|---|
| public static int unshuffle(ByteBuffer shuffled, BitShuffleType type, ByteBuffer output) throws IOException Convert the input bit-shuffled byte array into an original array. The result is dumped to the specified output buffer.
| |
| unshuffleDoubleArray | back to summary |
|---|---|
| public static double[] unshuffleDoubleArray(byte[] input) throws IOException Convert the input bit-shuffled byte array into an original double array.
| |
| unshuffleFloatArray | back to summary |
|---|---|
| public static float[] unshuffleFloatArray(byte[] input) throws IOException Convert the input bit-shuffled byte array into an original float array.
| |
| unshuffleIntArray | back to summary |
|---|---|
| public static int[] unshuffleIntArray(byte[] input) throws IOException Convert the input bit-shuffled byte array into an original int array.
| |
| unshuffleLongArray | back to summary |
|---|---|
| public static long[] unshuffleLongArray(byte[] input) throws IOException Convert the input bit-shuffled byte array into an original long array.
| |
| unshuffleShortArray | back to summary |
|---|---|
| public static short[] unshuffleShortArray(byte[] input) throws IOException Convert the input bit-shuffled byte array into an original short array.
| |