Class UnsafeDirectByteBuffer


  • public class UnsafeDirectByteBuffer
    extends Object
    • Constructor Detail

      • UnsafeDirectByteBuffer

        public UnsafeDirectByteBuffer()
    • 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)