Top Description Constructors Methods
org.xerial.snappy

public Class BitShuffleNative

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.ByteBuffer

JNI interfaces of the 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.

Author
leo

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public native int
shuffle(Object input, int inputOffset, int typeSize, int byteLength, Object output, int outputOffset)

public native int
shuffleDirectBuffer(ByteBuffer input, int inputOffset, int typeSize, int byteLength, ByteBuffer output, int outputOffset)

public native int
unshuffle(Object input, int inputOffset, int typeSize, int byteLength, Object output, int outputOffset)

public native int
unshuffleDirectBuffer(ByteBuffer input, int inputOffset, int typeSize, int byteLength, ByteBuffer output, int outputOffset)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

BitShuffleNativeback to summary
public BitShuffleNative()

Method Detail

shuffleback to summary
public native int shuffle(Object input, int inputOffset, int typeSize, int byteLength, Object output, int outputOffset) throws IOException
shuffleDirectBufferback to summary
public native int shuffleDirectBuffer(ByteBuffer input, int inputOffset, int typeSize, int byteLength, ByteBuffer output, int outputOffset) throws IOException
unshuffleback to summary
public native int unshuffle(Object input, int inputOffset, int typeSize, int byteLength, Object output, int outputOffset) throws IOException
unshuffleDirectBufferback to summary
public native int unshuffleDirectBuffer(ByteBuffer input, int inputOffset, int typeSize, int byteLength, ByteBuffer output, int outputOffset) throws IOException