The Swoole\Buffer class

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Introduction

Class synopsis

Swoole\Buffer {
/* Methods */
public append ( string $data ) : integer
public clear ( void ) : void
public __destruct ( void ) : void
public expand ( integer $size ) : integer
public read ( integer $offset , integer $length ) : string
public recycle ( void ) : void
public substr ( integer $offset [, integer $length [, bool $remove ]] ) : string
public __toString ( void ) : string
public write ( integer $offset , string $data ) : void
}

Table of Contents