Package jnr.ffi.provider
Interface MemoryManager
-
- All Known Implementing Classes:
NativeMemoryManager
public interface MemoryManagerManages access to various types of java and native memory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Pointerallocate(int size)PointerallocateDirect(int size)PointerallocateDirect(int size, boolean clear)PointerallocateDirect(long size)PointerallocateDirect(long size, boolean clear)PointerallocateTemporary(int size, boolean clear)PointernewOpaquePointer(long address)PointernewPointer(long address)PointernewPointer(long address, long size)PointernewPointer(ByteBuffer buffer)
-
-
-
Method Detail
-
allocate
Pointer allocate(int size)
-
allocateDirect
Pointer allocateDirect(int size)
-
allocateDirect
Pointer allocateDirect(long size)
-
allocateDirect
Pointer allocateDirect(int size, boolean clear)
-
allocateDirect
Pointer allocateDirect(long size, boolean clear)
-
allocateTemporary
Pointer allocateTemporary(int size, boolean clear)
-
newPointer
Pointer newPointer(ByteBuffer buffer)
-
newPointer
Pointer newPointer(long address)
-
newPointer
Pointer newPointer(long address, long size)
-
newOpaquePointer
Pointer newOpaquePointer(long address)
-
-