PHP - Manual: EventBuffer::prependBuffer
2024-12-22
(PECL event >= 1.2.6-beta)
EventBuffer::prependBuffer — Moves all data from source buffer to the front of current buffer
Behaves as EventBuffer::addBuffer() , except that it moves data to the front of the buffer.
buf
Source buffer.
成功时返回 true
, 或者在失败时返回 false
。
官方地址:https://www.php.net/manual/en/eventbuffer.prependbuffer.php