GoLang Swoole\Buffer::append

request it (240)
GoLang replacement for PHP's Swoole\Buffer::append [edit | history]



Do you know a GoLang replacement for PHP's Swoole\Buffer::append? Write it!

PHP Swoole\Buffer::append

PHP original manual for Swoole\Buffer::append [ show | php.net ]

Swoole\Buffer::append

(PHP 5 >= 5.2.0, PHP 7, 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

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

Parameters

data

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

Return Values

The new size of the memory buffer.