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.
See Implementation
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.