PHP - Manual: EventBufferEvent::read
2024-11-13
(PECL event >= 1.2.6-beta)
EventBufferEvent::read — Read buffer's data
$size
): string
Removes up to
size
bytes from the input buffer. Returns a string of data read from the input
buffer.
size
Maximum number of bytes to read
Returns string of data read from the input buffer.
官方地址:https://www.php.net/manual/en/eventbufferevent.read.php