« Swoole\Buffer::expand
Swoole\Buffer::recycle »

Swoole\Buffer::read

(PECL swoole >= 1.9.0)

Swoole\Buffer::read — Read data from the memory buffer based on offset and length.

説明

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

パラメータ

offset

The offset.

length

The length.

戻り値

The data read from the memory buffer.

関連キーワード:
offset   length   Swoole   Buffer   memory   buffer   read   Read   based   expand   recycle   swoole
関連する関数・ページ:
class.swoole-buffer   swoole-buffer.substr   swoole-buffer.tostring   swoole-buffer.recycle   swoole-buffer.destruct   swoole-buffer.write