Interface IDirectBufferAllocator

  • All Known Implementing Classes:
    SimpleDirectBufferAllocator

    public interface IDirectBufferAllocator
    Buffer Allocator interface that can be used for memory reusing without new allocation.
    • Method Detail

      • allocateBuffer

        @NonNull
        java.nio.ByteBuffer allocateBuffer​(int minimumCapacity)
        New buffer allocate.
        Parameters:
        minimumCapacity - minimum buffer capacity.
        Returns:
        allocated ByteBuffer.