Top Description Methods
jnr.ffi.provider

public Interface MemoryManager

Known Direct Implementers
jnr.ffi.provider.jffi.NativeMemoryManager
Imports
jnr.ffi.Pointer, java.nio.ByteBuffer

Manages access to various types of java and native memory.

Method Summary

Modifier and TypeMethod and Description
public Pointer
allocate(int size)

public Pointer
allocateDirect(int size)

public Pointer
allocateDirect(long size)

public Pointer
allocateDirect(int size, boolean clear)

public Pointer
allocateDirect(long size, boolean clear)

public Pointer
allocateTemporary(int size, boolean clear)

public Pointer
newOpaquePointer(long address)

public Pointer
public Pointer
newPointer(long address)

public Pointer
newPointer(long address, long size)

Method Detail

allocateback to summary
public Pointer allocate(int size)
allocateDirectback to summary
public Pointer allocateDirect(int size)
allocateDirectback to summary
public Pointer allocateDirect(long size)
allocateDirectback to summary
public Pointer allocateDirect(int size, boolean clear)
allocateDirectback to summary
public Pointer allocateDirect(long size, boolean clear)
allocateTemporaryback to summary
public Pointer allocateTemporary(int size, boolean clear)
newOpaquePointerback to summary
public Pointer newOpaquePointer(long address)
newPointerback to summary
public Pointer newPointer(ByteBuffer buffer)
newPointerback to summary
public Pointer newPointer(long address)
newPointerback to summary
public Pointer newPointer(long address, long size)