Interface BufferProvider

    • Method Detail

      • getBuffer

        ByteBuf getBuffer​(int size)
        Deprecated.
        Gets a buffer with the givens capacity.
        Parameters:
        size - the size required for the buffer
        Returns:
        a ByteBuf with the given size, which is now owned by the caller and must be released.