Swoole\Buffer::read
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Read data from the memory buffer based on offset and length.
Description
Swoole\Buffer::read(int $offset, int $length): string
Parameters
offsetThe offset.
lengthThe length.
Return Values
The data read from the memory buffer.