(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Buffer::appendAppend the string or binary data at the end of the memory buffer and return the new size of memory allocated.


public Swoole\Buffer::append ( string $data ) : integer

Список параметров


The string or binary data to append at the end of the memory buffer.

Возвращаемые значения

The new size of the memory buffer.