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.

Description

publicSwoole\Buffer::append(string$data): int

Liste de paramètres

data

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

Valeurs de retour

The new size of the memory buffer.

To Top