GoLang Swoole\Buffer::read

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



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

PHP Swoole\Buffer::read

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

Swoole\Buffer::read

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

Swoole\Buffer::readRead data from the memory buffer based on offset and length.

Description

public string Swoole\Buffer::read ( integer $offset , integer $length )

Parameters

offset

The offset.

length

The length.

Return Values

The data readed from the memory buffer.