-
interface
Defines the writable API for offset access to a resource.
Convert this Buffer to a Memory.
Convert this Buffer to a Memory with the given byte order.
Maps the specified portion of the given file into Memory for read operations.
Memory.region(long offsetBytes,
long capacityBytes)
A region is a read-only view of this object.
A region is a read-only view of this object.
Memory.wrap(byte[] array)
Wraps the given primitive array for read operations assuming native byte order.
Memory.wrap(byte[] array,
int offsetBytes,
int lengthBytes,
ByteOrder byteOrder)
Wraps the given primitive array for read operations with the given byte order.
Wraps the given primitive array for read operations with the given byte order.
Memory.wrap(char[] array)
Wraps the given primitive array for read operations assuming native byte order.
Memory.wrap(double[] array)
Wraps the given primitive array for read operations assuming native byte order.
Memory.wrap(float[] array)
Wraps the given primitive array for read operations assuming native byte order.
Wraps the given primitive array for read operations assuming native byte order.
Memory.wrap(long[] array)
Wraps the given primitive array for read operations assuming native byte order.
Memory.wrap(short[] array)
Wraps the given primitive array for read operations assuming native byte order.
Provides a view of the given ByteBuffer for read-only operations.
Provides a view of the given ByteBuffer for read-only operations.
static long[]
MurmurHash3.hash(Memory mem,
long offsetBytes,
long lengthBytes,
long seed,
long[] hashOut)
Returns a 128-bit hash of the input as a long array of size 2.