EventBufferEvent
PHP Manual

EventBufferEvent::read

(PECL event >= 1.2.6-beta)

EventBufferEvent::readRead buffer's data

Descripción

public string EventBufferEvent::read ( int $size )

Removes up to size bytes from the input buffer. Returns a string of data read from the input buffer.

Parámetros

size

Maximum number of bytes to read

Valores devueltos

Returns string of data read from the input buffer.

Ver también


EventBufferEvent
PHP Manual