phpday 2025 - Call For Papers

Swoole\Buffer::write

(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 Swoole\Buffer::write(int $offset, string $data): void

Parameters

offset

The offset.

data

The data to write to the memory buffer.

Return Values

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top