Swoole\Buffer::read

Read data from the memory buffer based on offset and length.

Description

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

Parameters

offset

The offset.

length

The length.

Return Values

The data readed from the memory buffer.