(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)
Class synopsis
Swoole\Buffer
{
public integer append
(
string $data
)
public void clear
(
void
)
public integer expand
(
integer $size
)
public string read
(
integer $offset
,
integer $length
)
public string substr
(
integer $offset
[,
integer $length
[,
bool $remove
]] )
public void write
(
integer $offset
,
string $data
)
}