public interface BufferAllocator
Buffer
.Modifier and Type | Method and Description |
---|---|
Buffer |
allocate()
Allocates a
Buffer with the default size of this BufferAllocator . |
Buffer |
allocate(int minimumCapacity)
Allocates a
Buffer with the size of minimumCapacity at least. |
Buffer allocate()
Buffer
with the default size of this BufferAllocator
.Buffer
allocated