default Memory |
Buffer.asMemory() |
Convert this Buffer to a Memory.
|
Memory |
Buffer.asMemory(ByteOrder byteOrder) |
Convert this Buffer to a Memory with the given byte order.
|
Memory |
Handle.get() |
Gets a Memory
|
default Memory |
Memory.region(long offsetBytes,
long capacityBytes) |
A region is a read-only view of this object.
|
Memory |
Memory.region(long offsetBytes,
long capacityBytes,
ByteOrder byteOrder) |
A region is a read-only view of this object.
|
static Memory |
Memory.wrap(boolean[] array) |
Wraps the given primitive array for read operations assuming native byte order.
|
static Memory |
Memory.wrap(byte[] array) |
Wraps the given primitive array for read operations assuming native byte order.
|
static Memory |
Memory.wrap(byte[] array,
int offsetBytes,
int lengthBytes,
ByteOrder byteOrder) |
Wraps the given primitive array for read operations with the given byte order.
|
static Memory |
Memory.wrap(byte[] array,
ByteOrder byteOrder) |
Wraps the given primitive array for read operations with the given byte order.
|
static Memory |
Memory.wrap(char[] array) |
Wraps the given primitive array for read operations assuming native byte order.
|
static Memory |
Memory.wrap(double[] array) |
Wraps the given primitive array for read operations assuming native byte order.
|
static Memory |
Memory.wrap(float[] array) |
Wraps the given primitive array for read operations assuming native byte order.
|
static Memory |
Memory.wrap(int[] array) |
Wraps the given primitive array for read operations assuming native byte order.
|
static Memory |
Memory.wrap(long[] array) |
Wraps the given primitive array for read operations assuming native byte order.
|
static Memory |
Memory.wrap(short[] array) |
Wraps the given primitive array for read operations assuming native byte order.
|
static Memory |
Memory.wrap(ByteBuffer byteBuffer) |
Accesses the given ByteBuffer for read-only operations.
|
static Memory |
Memory.wrap(ByteBuffer byteBuffer,
ByteOrder byteOrder) |
Accesses the given ByteBuffer for read-only operations.
|