array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'swoole-buffer.append.php', 1 => 'Swoole\\Buffer::append', 2 => 'Append the string or binary data at the end of the memory buffer and return the new size of memory allocated.', ), 'up' => array ( 0 => 'class.swoole-buffer.php', 1 => 'Swoole\\Buffer', ), 'prev' => array ( 0 => 'class.swoole-buffer.php', 1 => 'Swoole\\Buffer', ), 'next' => array ( 0 => 'swoole-buffer.clear.php', 1 => 'Swoole\\Buffer::clear', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/swoole/buffer/append.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Swoole\Buffer::append

(PECL swoole >= 1.9.0)

Swoole\Buffer::appendAppend the string or binary data at the end of the memory buffer and return the new size of memory allocated.

Beschreibung

public Swoole\Buffer::append(string $data): int

Parameter-Liste

data

The string or binary data to append at the end of the memory buffer.

Rückgabewerte

The new size of the memory buffer.