PHP 8.4.0 RC4 available for testing

Swoole\Buffer::read

(PECL swoole >= 1.9.0)

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

Description

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

Parameters

offset

The offset.

length

The length.

Return Values

The data readed from the memory buffer.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top