ByteBufAllocator.buffer

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

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

Meta