# EventBufferEvent::write

(PECL event >= 1.2.6-beta)

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

### Descripción

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

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

### Parámetros

`data`

  Data to be added to the underlying buffer.

### Valores devueltos

Devuelve `true` en caso de éxito o `false` en caso de error.

### Ver también

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