EventBufferEvent::getOutput
EventBufferEvent::readBuffer
EventBufferEvent
PHP Manual

# EventBufferEvent::read

(PECL event >= 1.2.6-beta)

EventBufferEvent::read — Read buffer's data

### Descrição

public int EventBufferEvent::read ( string `&$data` , int `$size` )

Removes up to `size` bytes from the input buffer, storing them into `data` .

### Parâmetros

`data`

  Storage for the read data.

`size`

  Maximum numbe rof bytes to read

### Valor Retornado

Returns the number of bytes actually removed.

### Veja Também

- EventBufferEvent::readBuffer() - Drains the entire contents of the input buffer and places them into buf

EventBufferEvent::getOutput
EventBufferEvent::readBuffer
EventBufferEvent
PHP Manual