| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Pointer | |
| public static Pointer | Returns: aPointer instance that can access the memory.The current runtime. runtime, NativeType The native type to allocate memory for. type)Allocates a new block of java memory and wraps it in a |
| public static Pointer | |
| public static Pointer | |
| public static Pointer | Returns: aPointer instance that can access the memory.The current runtime. runtime, int The size in bytes of memory to allocate. size)Allocates a new block of native memory and wraps it in a |
| public static Pointer | Returns: aPointer instance that can access the memory.The current runtime. runtime, long The size in bytes of memory to allocate. size)Allocates a new block of native memory and wraps it in a |
| public static Pointer | Returns: aPointer instance that can access the memory.The current runtime. runtime, NativeType The native type to allocate memory for. type)Allocates a new block of native memory and wraps it in a |
| public static Pointer | Returns: aPointer instance that can access the memory.The current runtime. runtime, TypeAlias The type alias to allocate memory for. type)Allocates a new block of native memory and wraps it in a |
| public static Pointer | Returns: aPointer instance that can access the memory.The current runtime. runtime, int The size in bytes of memory to allocate. size, boolean Whether the memory contents should be cleared, or left as
random data. clear)Allocates a new block of native memory and wraps it in a |
| public static Pointer | Returns: aPointer instance that can access the memory.The current runtime. runtime, long The size in bytes of memory to allocate. size, boolean Whether the memory contents should be cleared, or left as
random data. clear)Allocates a new block of native memory and wraps it in a |
| public static Pointer | Returns: aPointer instance that can access the memory.The current runtime. runtime, NativeType The native type to allocate memory for. type)Allocates a new block of transient native memory and wraps it in a |
| public static Pointer | Returns: aPointer instance that can access the memory.The current runtime. runtime, TypeAlias The type alias to allocate memory for. type)Allocates a new block of transient native memory and wraps it in a |
| public static Pointer | Returns: aPointer instance that can access the memory.The current runtime. runtime, NativeType The native type to allocate memory for. type, boolean Whether the memory contents should be cleared, or left as
random data. clear)Allocates a new block of transient native memory and wraps it in a |
| Memory | back to summary |
|---|---|
| private Memory() | |
| allocate | back to summary |
|---|---|
| public static Pointer allocate(Runtime runtime, int size) Allocates a new block of java memory and wraps it in a | |
| allocate | back to summary |
|---|---|
| public static Pointer allocate(Runtime runtime, NativeType type) Allocates a new block of java memory and wraps it in a
| |
| allocate | back to summary |
|---|---|
| public static Pointer allocate(Runtime runtime, Type type) Allocates a new block of java memory and wraps it in a | |
| allocate | back to summary |
|---|---|
| public static Pointer allocate(Runtime runtime, TypeAlias type) Allocates a new block of java memory and wraps it in a | |
| allocateDirect | back to summary |
|---|---|
| public static Pointer allocateDirect(Runtime runtime, int size) Allocates a new block of native memory and wraps it in a | |
| allocateDirect | back to summary |
|---|---|
| public static Pointer allocateDirect(Runtime runtime, long size) Allocates a new block of native memory and wraps it in a | |
| allocateDirect | back to summary |
|---|---|
| public static Pointer allocateDirect(Runtime runtime, NativeType type) Allocates a new block of native memory and wraps it in a
| |
| allocateDirect | back to summary |
|---|---|
| public static Pointer allocateDirect(Runtime runtime, TypeAlias type) Allocates a new block of native memory and wraps it in a | |
| allocateDirect | back to summary |
|---|---|
| public static Pointer allocateDirect(Runtime runtime, int size, boolean clear) Allocates a new block of native memory and wraps it in a | |
| allocateDirect | back to summary |
|---|---|
| public static Pointer allocateDirect(Runtime runtime, long size, boolean clear) Allocates a new block of native memory and wraps it in a | |
| allocateTemporary | back to summary |
|---|---|
| public static Pointer allocateTemporary(Runtime runtime, NativeType type) Allocates a new block of transient native memory and wraps it in a
| |
| allocateTemporary | back to summary |
|---|---|
| public static Pointer allocateTemporary(Runtime runtime, TypeAlias type) Allocates a new block of transient native memory and wraps it in a | |
| allocateTemporary | back to summary |
|---|---|
| public static Pointer allocateTemporary(Runtime runtime, NativeType type, boolean clear) Allocates a new block of transient native memory and wraps it in a
| |