public final class NativeBuffer extends java.lang.Object implements BufferResource
| Constructor and Description |
|---|
NativeBuffer(long length,
java.nio.ByteOrder order) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
DirectMemory |
memory() |
void |
mlock(long position,
long length) |
void |
munlock(long position,
long length) |
NativeBuffer |
realloc(long newSize) |
public void mlock(long position,
long length)
public void munlock(long position,
long length)
public NativeBuffer realloc(long newSize)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic DirectMemory memory()
memory in interface BufferResource