Swoole Swoole\Buffer::read

(PECL swoole >= 1.9.0)

Swoole\Buffer::read — 오프셋과 길이를 기반으로 메모리 버퍼에서 데이터를 읽습니다.


설명

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


매개변수

offset
오프셋.
length
길이.

반환 값

메모리 버퍼에서 읽은 데이터입니다.