Write data to the memory buffer. The memory allocated for the buffer will not be changed.

# Swoole\Buffer::write

(PECL swoole >= 1.9.0)

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

### 说明

public function Swoole\Buffer::write(int `$offset`, string `$data`): void

### 参数

`offset`

  The offset.

`data`

  The data to write to the memory buffer.

### 返回值

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open