« Swoole\Buffer
Swoole\Buffer::clear »

Swoole\Buffer::append

(PECL swoole >= 1.9.0)

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

説明

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

パラメータ

data

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

戻り値

The new size of the memory buffer.

関連キーワード:
memory   Swoole   Buffer   buffer   binary   size   append   Append   return   allocated   clear   swoole
関連する関数・ページ:
class.swoole-buffer   swoole-buffer.tostring   swoole-buffer.write   swoole-buffer.expand   swoole-buffer.clear   swoole-buffer.recycle