ByteBufAllocator.buffer

Allocate a {@link ByteBuf} with the given initial capacity. If it is a direct or heap buffer depends on the actual implementation.

  1. ByteBuf buffer()
  2. ByteBuf buffer(int initialCapacity)
    interface ByteBufAllocator
  3. ByteBuf buffer(int initialCapacity, int maxCapacity)

Meta