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

Swoole\Buffer::__construct

PHP function Edit on GitHub ✎

(PECL swoole >= 1.9.0)

Fixed size memory blocks allocation.

Description

Swoole\Buffer::__construct([int $size])

Parameters

size

The size of the memory to allocate.

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