EventBufferEvent::readBuffer
EventBufferEvent::readBuffer
(PECL event >= 1.2.6-beta)
EventBufferEvent::readBuffer — Drains the entire contents of the input buffer and places them into buf
Description
public bool EventBufferEvent::readBuffer ( EventBuffer $buf )
Drains the entire contents of the input buffer and places them into buf
.
Parameters
-
buf
-
Target buffer
Return Values
Returns TRUE
on success; Otherwise FALSE
.
See Also
- EventBufferEvent::read() - Read buffer's data
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/eventbufferevent.readbuffer.php