php8.5
Home/ Manual/ event / eventbufferevent/ EventBufferEvent::readBuffer

EventBufferEvent::readBuffer

PHP function Edit on GitHub ✎

(PECL event >= 1.2.6-beta)

Drains the entire contents of the input buffer and places them into buf

Description

EventBufferEvent::readBuffer(EventBuffer $buf): bool

Drains the entire contents of the input buffer and places them into buf.

Parameters

buf

Target buffer

Return Values

Success

See Also

  • EventBufferEvent::read

Source: reference/event/eventbufferevent/readbuffer.xml · from the official PHP manual (php/doc-en)