Swoole\Buffer
PHP Manual

Swoole\Buffer::expand

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

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

说明

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

参数

size

The new size of the memory buffer.

返回值

The new size of the memory buffer.


Swoole\Buffer
PHP Manual