PHP Manual
Function Reference
Other Basic Extensions
Swoole
Swoole\Buffer
Swoole\Buffer::append
Swoole\Buffer::clear
Swoole\Buffer::__construct
Swoole\Buffer::__destruct
Swoole\Buffer::expand
Swoole\Buffer::read
Swoole\Buffer::recycle
Swoole\Buffer::substr
Swoole\Buffer::__toString
Swoole\Buffer::write
Swoole\Buffer::clear
Swoole\Buffer::__destruct
Swoole\Buffer
PHP Manual
Swoole\Buffer::__construct
Fixed size memory blocks allocation.
Description
public
Swoole\Buffer::__construct
(
int
$size
= ?
)
Parameters
size
The size of the memory to allocate.