Interface BufferAllocator


  • public interface BufferAllocator
    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.