php8.5
Home/ Manual/ swoole / buffer/ Swoole\Buffer::expand

Swoole\Buffer::expand

PHP function Edit on GitHub ✎

(PECL swoole >= 1.9.0)

Expand the size of memory buffer.

Description

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

Parameters

size

The new size of the memory buffer.

Return Values

The new size of the memory buffer.

Source: reference/swoole/swoole/buffer/expand.xml · from the official PHP manual (php/doc-en)