= 1.9.0)簡(jiǎn)介類摘要class Swoole\Buffer {/* 方法 */public append(string $data): intpublic clear(): voidpublic __destruct(">
The Swoole\Buffer class
(PECL swoole >= 1.9.0)
類摘要
class Swoole\Buffer
{
public append(
string $data
):
int
public read(
int $offset
,
int $length
):
string
public substr(
int $offset
,
int $length
= ?,
bool $remove
= ?):
string
public write(
int $offset
,
string $data
):
void
}
目錄