The Swoole\Buffer class

(PECL swoole >= 1.9.0)

Introduction

Class synopsis

classSwoole\Buffer {
publicappend(string$data): int
publicclear(): void
public__destruct(): void
publicexpand(int$size): int
publicread(int$offset, int$length): string
publicrecycle(): void
publicsubstr(int$offset, int$length = ?, bool$remove = ?): string
publicwrite(int$offset, string$data): void
}

Table of Contents

To Top