public class BitShuffleNative extends Object
BitShuffle
implementation. The native method in this class is
defined in BitShuffleNative.h (genereted by javah) and BitShuffleNative.cpp
DO NOT USE THIS CLASS since the direct use of this class might break the
native library code loading in SnappyLoader
.
Constructor and Description |
---|
BitShuffleNative() |
Modifier and Type | Method and Description |
---|---|
int |
shuffle(Object input,
int inputOffset,
int typeSize,
int byteLength,
Object output,
int outputOffset) |
int |
shuffleDirectBuffer(ByteBuffer input,
int inputOffset,
int typeSize,
int byteLength,
ByteBuffer output,
int outputOffset) |
int |
unshuffle(Object input,
int inputOffset,
int typeSize,
int byteLength,
Object output,
int outputOffset) |
int |
unshuffleDirectBuffer(ByteBuffer input,
int inputOffset,
int typeSize,
int byteLength,
ByteBuffer output,
int outputOffset) |
public int shuffle(Object input, int inputOffset, int typeSize, int byteLength, Object output, int outputOffset) throws IOException
IOException
public int shuffleDirectBuffer(ByteBuffer input, int inputOffset, int typeSize, int byteLength, ByteBuffer output, int outputOffset) throws IOException
IOException
public int unshuffle(Object input, int inputOffset, int typeSize, int byteLength, Object output, int outputOffset) throws IOException
IOException
public int unshuffleDirectBuffer(ByteBuffer input, int inputOffset, int typeSize, int byteLength, ByteBuffer output, int outputOffset) throws IOException
IOException
Copyright © 2024 xerial.org. All rights reserved.