Package net.haesleinhuepf.clij.coremem
Interface ContiguousMemoryInterface
-
- All Superinterfaces:
BridJPointerWrappable,ByteBufferWrappable,Copyable<ContiguousMemoryInterface>,CopyFromToJavaArray,CopyFromToNIOBuffers,CopyRangeFromToJavaArray,Freeable,JNAPointerWrappable,MemoryTyped,PointerAccessible,ReadAt,ReadAtAligned,ReadWriteBytesFileChannel,SizedInBytes,WriteAt,WriteAtAligned
- All Known Implementing Classes:
FileMappedMemoryRegion,MappedMemoryBase,MemoryBase,OffHeapMemory,SafeContiguousMemory
public interface ContiguousMemoryInterface extends PointerAccessible, JNAPointerWrappable, BridJPointerWrappable, ByteBufferWrappable, ReadAtAligned, WriteAtAligned, ReadAt, WriteAt, Copyable<ContiguousMemoryInterface>, CopyFromToNIOBuffers, CopyFromToJavaArray, CopyRangeFromToJavaArray, ReadWriteBytesFileChannel, SizedInBytes, Freeable
ContiguousMemoryInterface represents contiguous chunks of memory that can be accessed, copied, written and read from disk, and can be exchanged with NIO, BridJ.- Author:
- royer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContiguousMemoryInterfacesubRegion(long pOffsetInBytes, long pLenghInBytes)Returns a contiguous memory object representing for a memory sub region.-
Methods inherited from interface net.haesleinhuepf.clij.coremem.interfaces.BridJPointerWrappable
getBridJPointer
-
Methods inherited from interface net.haesleinhuepf.clij.coremem.interfaces.ByteBufferWrappable
getByteBuffer
-
Methods inherited from interface net.haesleinhuepf.clij.coremem.interfaces.Copyable
copyFrom, copyTo
-
Methods inherited from interface net.haesleinhuepf.clij.coremem.interfaces.CopyFromToJavaArray
copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo
-
Methods inherited from interface net.haesleinhuepf.clij.coremem.interfaces.CopyFromToNIOBuffers
copyFrom, copyTo
-
Methods inherited from interface net.haesleinhuepf.clij.coremem.interfaces.CopyRangeFromToJavaArray
copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo
-
Methods inherited from interface net.haesleinhuepf.clij.coremem.rgc.Freeable
complainIfFreed, free, isFree
-
Methods inherited from interface net.haesleinhuepf.clij.coremem.interfaces.JNAPointerWrappable
getJNAPointer
-
Methods inherited from interface net.haesleinhuepf.clij.coremem.interfaces.MemoryTyped
getMemoryType
-
Methods inherited from interface net.haesleinhuepf.clij.coremem.interfaces.PointerAccessible
getAddress
-
Methods inherited from interface net.haesleinhuepf.clij.coremem.interfaces.ReadAt
getByte, getChar, getDouble, getFloat, getInt, getLong, getShort
-
Methods inherited from interface net.haesleinhuepf.clij.coremem.interfaces.ReadAtAligned
getByteAligned, getCharAligned, getDoubleAligned, getFloatAligned, getIntAligned, getLongAligned, getShortAligned
-
Methods inherited from interface net.haesleinhuepf.clij.coremem.interfaces.ReadWriteBytesFileChannel
readBytesFromFileChannel, readBytesFromFileChannel, writeBytesToFileChannel, writeBytesToFileChannel
-
Methods inherited from interface net.haesleinhuepf.clij.coremem.interfaces.SizedInBytes
getSizeInBytes
-
Methods inherited from interface net.haesleinhuepf.clij.coremem.interfaces.WriteAt
setByte, setChar, setDouble, setFloat, setInt, setLong, setShort
-
Methods inherited from interface net.haesleinhuepf.clij.coremem.interfaces.WriteAtAligned
setByteAligned, setCharAligned, setDoubleAligned, setFloatAligned, setIntAligned, setLongAligned, setShortAligned
-
-
-
-
Method Detail
-
subRegion
ContiguousMemoryInterface subRegion(long pOffsetInBytes, long pLenghInBytes)
Returns a contiguous memory object representing for a memory sub region.- Parameters:
pOffsetInBytes- offset in bytespLenghInBytes- length in bytes- Returns:
- contiguous memory for sub region
-
-