Class DirectByteBufferAllocator

    • Constructor Detail

      • DirectByteBufferAllocator

        public DirectByteBufferAllocator()
    • Method Detail

      • allocate

        public java.nio.ByteBuffer allocate​(int size)
        Description copied from interface: ByteBufferAllocator
        Allocates ByteBuffer of the given size.
        Specified by:
        allocate in interface ByteBufferAllocator
        Parameters:
        size - the size of the buffer.
        Returns:
        byte buffer.