Class NativeBuffer.NativeBufferJNI
java.lang.Object
org.fusesource.leveldbjni.internal.NativeBuffer.NativeBufferJNI
- Enclosing class:
NativeBuffer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final voidbuffer_copy(byte[] src, long srcPos, long dest, long destPos, long length) static final voidbuffer_copy(long src, long srcPos, byte[] dest, long destPos, long length) static final voidfree(long self) static final longmalloc(long size)
-
Constructor Details
-
NativeBufferJNI
NativeBufferJNI()
-
-
Method Details
-
malloc
@JniMethod(cast="void *") public static final long malloc(@JniArg(cast="size_t") long size) -
free
public static final void free(@JniArg(cast="void *") long self) -
buffer_copy
public static final void buffer_copy(@JniArg(cast="const void *",flags={NO_OUT,CRITICAL}) byte[] src, @JniArg(cast="size_t") long srcPos, @JniArg(cast="void *") long dest, @JniArg(cast="size_t") long destPos, @JniArg(cast="size_t") long length) -
buffer_copy
public static final void buffer_copy(@JniArg(cast="const void *") long src, @JniArg(cast="size_t") long srcPos, @JniArg(cast="void *",flags={NO_IN,CRITICAL}) byte[] dest, @JniArg(cast="size_t") long destPos, @JniArg(cast="size_t") long length)
-