Swoole\Buffer::expand

(PECL swoole >= 1.9.0)

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

Description

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

Parameters

size

The new size of the memory buffer.

Return Values

The new size of the memory buffer.