Swoole\Buffer::expand

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

Swoole\Buffer::expandExpand the size of memory buffer.

Описание

public Swoole\Buffer::expand ( integer $size ) : integer

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

size

The new size of the memory buffer.

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

The new size of the memory buffer.