Package com.diozero.util
Class MmapByteBuffer
- java.lang.Object
-
- com.diozero.util.MmapByteBuffer
-
- All Implemented Interfaces:
AutoCloseable
public class MmapByteBuffer extends Object implements AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description MmapByteBuffer(long address, int length, ByteBuffer buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
long
getAddress()
ByteBuffer
getBuffer()
int
getLength()
-
-
-
Constructor Detail
-
MmapByteBuffer
public MmapByteBuffer(long address, int length, ByteBuffer buffer)
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
getAddress
public long getAddress()
-
getLength
public int getLength()
-
getBuffer
public ByteBuffer getBuffer()
-
-