= 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)

簡(jiǎn)介

類摘要

class Swoole\Buffer {
/* 方法 */
public append(string $data): int
public clear(): void
public __destruct(): void
public expand(int $size): int
public read(int $offset, int $length): string
public recycle(): void
public substr(int $offset, int $length = ?, bool $remove = ?): string
public __toString(): string
public write(int $offset, string $data): void
}

目錄