Package org.jctools.util
Class UnsafeDirectByteBuffer
- java.lang.Object
-
- org.jctools.util.UnsafeDirectByteBuffer
-
public class UnsafeDirectByteBuffer extends Object
-
-
Constructor Summary
Constructors Constructor Description UnsafeDirectByteBuffer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ByteBuffer
alignedSlice(int capacity, long align, ByteBuffer buffy)
static ByteBuffer
allocateAlignedByteBuffer(int capacity, long align)
static long
getAddress(ByteBuffer buffy)
-
-
-
Method Detail
-
getAddress
public static long getAddress(ByteBuffer buffy)
-
allocateAlignedByteBuffer
public static ByteBuffer allocateAlignedByteBuffer(int capacity, long align)
-
alignedSlice
public static ByteBuffer alignedSlice(int capacity, long align, ByteBuffer buffy)
-
-