Swoole\Buffer
PHP Manual

Swoole\Buffer::write

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Buffer::writeWrite data to the memory buffer. The memory allocated for the buffer will not be changed.

Description

public void Swoole\Buffer::write ( integer $offset , string $data )

Parameters

offset

The offset.

data

The data to write to the memory buffer.

Return Values


Swoole\Buffer
PHP Manual