Swoole\Buffer
PHP Manual

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.

说明

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

参数

offset

The offset.

length

The length.

返回值

The data readed from the memory buffer.


Swoole\Buffer
PHP Manual