class C
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
C.Structure
Structure is used for wrapping C structs in Java objects.
|
Modifier and Type | Field and Description |
---|---|
private static C |
instance |
private static java.security.Permission |
permission |
Modifier | Constructor and Description |
---|---|
private |
C() |
Modifier and Type | Method and Description |
---|---|
private static void |
checkPermissions() |
(package private) static C |
getC()
Obtains the single instance of LinuxSystem.
|
(package private) long |
GetDirectBufferAddress(java.nio.ByteBuffer b)
Finds the memory address pointed to by a direct ByteBuffer
|
(package private) java.nio.ByteBuffer |
NewDirectByteBuffer(long ptr,
int size)
Create a new ByteBuffer that provides access to the memory at a given
address
|
private static java.security.Permission permission
private static C instance
static C getC()
private static void checkPermissions()
java.nio.ByteBuffer NewDirectByteBuffer(long ptr, int size)
ptr
- The memory address for which to create a ByteBuffer.size
- The byte length of memory to be wrapped in the ByteBuffer.long GetDirectBufferAddress(java.nio.ByteBuffer b)
b
- a direct ByteBuffer