public class UnsafeDirectByteBuffer extends Object
Constructor and Description |
---|
UnsafeDirectByteBuffer() |
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
alignedSlice(int capacity,
long align,
ByteBuffer buffy) |
static ByteBuffer |
allocateAlignedByteBuffer(int capacity,
long align) |
static long |
getAddress(ByteBuffer buffy) |
public static long getAddress(ByteBuffer buffy)
public static ByteBuffer allocateAlignedByteBuffer(int capacity, long align)
public static ByteBuffer alignedSlice(int capacity, long align, ByteBuffer buffy)
Copyright © 2013–2020. All rights reserved.