Swoole\Buffer::read

(PECL swoole >= 1.9.0)

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

说明

publicSwoole\Buffer::read(int$offset, int$length): string

参数

offset

The offset.

length

The length.

返回值

The data readed from the memory buffer.

To Top