# EventBufferEvent::write

(PECL event >= 1.2.6-beta)

EventBufferEvent::write — Adds data to a buffer event's output buffer

### 说明

public EventBufferEvent::write( string `$data` ): bool

Adds `data` to a buffer event's output buffer

### 参数

`data`

  Data to be added to the underlying buffer.

### 返回值

成功时返回 `true`， 或者在失败时返回 `false`。

### 参见

- EventBufferEvent::writeBuffer() - Adds contents of the entire buffer to a buffer event's output buffer

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