« EventBuffer::add
EventBuffer::appendFrom »

EventBuffer::addBuffer

(PECL event >= 1.2.6-beta)

EventBuffer::addBuffer — Move all data from a buffer provided to the current instance of EventBuffer

説明

public function EventBuffer::addBuffer( EventBuffer $buf ): bool

Move all data from the buffer provided in buf parameter to the end of current EventBuffer. This is a destructive add. The data from one buffer moves into the other buffer. However, no unnecessary memory copies occur.

パラメータ

buf

The source EventBuffer object.

戻り値

成功した場合に true を、失敗した場合に false を返します。

参考

関連キーワード:
EventBuffer   buffer   Move   provided   current   instance   addBuffer   event   appendFrom   beta   parameter   destructive   moves   However   unnecessary   memory   copies   occur   成功   参考   Append
関連する関数・ページ:
eventbuffer.add   eventbuffer.prependbuffer   eventbuffer.prepend   eventbuffer.construct   eventbuffer.readfrom   eventbuffer.appendfrom