Package org.jctools.util
Class UnsafeDirectByteBuffer
java.lang.Object
org.jctools.util.UnsafeDirectByteBuffer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ByteBuffer
alignedSlice
(int capacity, long align, ByteBuffer buffy) static ByteBuffer
allocateAlignedByteBuffer
(int capacity, long align) static long
getAddress
(ByteBuffer buffy)
-
Field Details
-
addressOffset
private static final long addressOffset
-
-
Constructor Details
-
UnsafeDirectByteBuffer
public UnsafeDirectByteBuffer()
-
-
Method Details
-
getAddress
-
allocateAlignedByteBuffer
-
alignedSlice
-