public class UnsafeDirectByteBuffer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static long |
addressOffset |
Constructor and Description |
---|
UnsafeDirectByteBuffer() |
Modifier and Type | Method and Description |
---|---|
static java.nio.ByteBuffer |
alignedSlice(int capacity,
long align,
java.nio.ByteBuffer buffy) |
static java.nio.ByteBuffer |
allocateAlignedByteBuffer(int capacity,
long align) |
static long |
getAddress(java.nio.ByteBuffer buffy) |
public static long getAddress(java.nio.ByteBuffer buffy)
public static java.nio.ByteBuffer allocateAlignedByteBuffer(int capacity, long align)
public static java.nio.ByteBuffer alignedSlice(int capacity, long align, java.nio.ByteBuffer buffy)