EventBuffer::read
(PECL event >= 1.6.0)
EventBuffer::read — Read data from an evbuffer and drain the bytes read
Description
public
function EventBuffer::read(
int $max_bytes
):
string
Parameters
-
max_bytes
-
Maximum number of bytes to read from the buffer.
Return Values
Returns string read, or false on failure.