EventBufferEvent::read
(PECL event >= 1.2.6-beta)
EventBufferEvent::read — Read buffer's data
Beschreibung
$size
): string
Removes up to
size
bytes from the input buffer. Returns a string of data read from the input
buffer.
Parameter-Liste
-
size
-
Maximum number of bytes to read
Rückgabewerte
Returns string of data read from the input buffer.
Siehe auch
- EventBufferEvent::readBuffer() - Drains the entire contents of the input buffer and places them into buf