fixedAllocator static method
Creates a new ByteBufAllocator with both ByteBufAllocator.capacity and ByteBufAllocator.maxCapacity
being set to size
.
Implementation
static ByteBufAllocator fixedAllocator(int size) =>
allocator(initialCapacity: size, maxCapacity: size);