EventBufferEvent::read
(PECL event >= 1.2.6-beta)
EventBufferEvent::read — Read buffer's data
Description
Removes up to
size
bytes from the input buffer. Returns a string of data read from the input
buffer.
Parameters
size
Maximum number of bytes to read
Return Values
Returns string of data read from the input buffer.
See Also
- EventBufferEvent::readBuffer() - Drains the entire contents of the input buffer and places them into buf
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
