array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'eventbuffer.expand.php', 1 => 'EventBuffer::expand', ), 'up' => array ( 0 => 'class.eventbuffer.php', 1 => 'EventBuffer', ), 'prev' => array ( 0 => 'eventbuffer.enablelocking.php', 1 => 'EventBuffer::enableLocking', ), 'next' => array ( 0 => 'eventbuffer.freeze.php', 1 => 'EventBuffer::freeze', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/event/eventbuffer/expand.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL event >= 1.2.6-beta)
EventBuffer::expand — Reserves space in buffer
Alters the last chunk of memory in the buffer, or adds a new chunk, such
that the buffer is now large enough to contain
len
bytes without any further allocations.
len
The number of bytes to reserve for the buffer