GoLang Swoole\Buffer::expand

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



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

PHP Swoole\Buffer::expand

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

Swoole\Buffer::expand

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Buffer::expandExpand the size of memory buffer.

Description

public integer Swoole\Buffer::expand ( integer $size )

Parameters

size

The new size of the memory buffer.

Return Values

The new size of the memory buffer.