GoLang Swoole\Buffer::__construct

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



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

PHP Swoole\Buffer::__construct

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

Swoole\Buffer::__construct

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

Swoole\Buffer::__constructFixed size memory blocks allocation.

Description

public Swoole\Buffer::__construct ([ integer $size ] )

Parameters

size

The size of the memory to allocate.