Swoole\Buffer::expand

(PECL swoole >= 1.9.0)

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

說(shuō)明

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

參數(shù)

size

The new size of the memory buffer.

返回值

The new size of the memory buffer.