array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'swoole-buffer.write.php', 1 => 'Swoole\\Buffer::write', ), 'up' => array ( 0 => 'class.swoole-buffer.php', 1 => 'Swoole\\Buffer', ), 'prev' => array ( 0 => 'swoole-buffer.tostring.php', 1 => 'Swoole\\Buffer::__toString', ), 'next' => array ( 0 => 'class.swoole-channel.php', 1 => 'Swoole\\Channel', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/swoole/buffer/write.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL swoole >= 1.9.0)
Swoole\Buffer::write — Write data to the memory buffer. The memory allocated for the buffer will not be changed.
offset
The offset.
data
The data to write to the memory buffer.