EventBufferEvent
PHP Manual

EventBufferEvent::read

(PECL event >= 1.2.6-beta)

EventBufferEvent::readRead buffer's data

Beschreibung

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

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

Parameter-Liste

data

Storage for the read data.

size

Maximum numbe rof bytes to read

Rückgabewerte

Returns the number of bytes actually removed.

Siehe auch


EventBufferEvent
PHP Manual