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.

说明

public 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.

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 站长在线 整理 版权归PHP文档组所有