com.kenai.jaffl.provider.jffi
Class ByteBufferMemoryIO

java.lang.Object
  extended by com.kenai.jaffl.MemoryIO
      extended by com.kenai.jaffl.provider.AbstractMemoryIO
          extended by com.kenai.jaffl.provider.AbstractBufferMemoryIO
              extended by com.kenai.jaffl.provider.jffi.ByteBufferMemoryIO
All Implemented Interfaces:
Pointer

public class ByteBufferMemoryIO
extends AbstractBufferMemoryIO


Field Summary
 
Fields inherited from class com.kenai.jaffl.provider.AbstractBufferMemoryIO
buffer
 
Fields inherited from interface com.kenai.jaffl.Pointer
SIZE
 
Constructor Summary
ByteBufferMemoryIO(ByteBuffer buffer)
           
 
Method Summary
 MemoryIO getMemoryIO(long offset)
           
 MemoryIO getMemoryIO(long offset, long size)
           
 Pointer getPointer(long offset)
           
 void putPointer(long offset, Pointer value)
           
 
Methods inherited from class com.kenai.jaffl.provider.AbstractBufferMemoryIO
address, get, get, get, get, get, get, getByte, getByteBuffer, getDouble, getFloat, getInt, getLong, getShort, getString, getString, getString, indexOf, isDirect, put, put, put, put, put, put, putByte, putDouble, putFloat, putInt, putLong, putShort, putString, putString, setMemory
 
Methods inherited from class com.kenai.jaffl.provider.AbstractMemoryIO
checkBounds, getAddress, getNativeLong, indexOf, putAddress, putAddress, putNativeLong, slice, slice, transferFrom, transferTo
 
Methods inherited from class com.kenai.jaffl.MemoryIO
allocate, allocateDirect, allocateDirect, wrap, wrap, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteBufferMemoryIO

public ByteBufferMemoryIO(ByteBuffer buffer)
Method Detail

getMemoryIO

public MemoryIO getMemoryIO(long offset)
Specified by:
getMemoryIO in class MemoryIO

getMemoryIO

public MemoryIO getMemoryIO(long offset,
                            long size)
Specified by:
getMemoryIO in class MemoryIO

getPointer

public Pointer getPointer(long offset)
Specified by:
getPointer in interface Pointer
Specified by:
getPointer in class MemoryIO

putPointer

public void putPointer(long offset,
                       Pointer value)
Specified by:
putPointer in interface Pointer
Specified by:
putPointer in class MemoryIO


Copyright © 2011. All Rights Reserved.