Flow PHP

MemoryBuffer implements Transport

Interfaces

Transport

Methods

__construct()  : mixed
Constructor. Optionally pass an initial value for the buffer.
available()  : int
close()  : void
data()  : string
isOpen()  : bool
open()  : void
read()  : string
write()  : void

Methods

__construct()

Constructor. Optionally pass an initial value for the buffer.

public __construct([string $data = '' ]) : mixed
Parameters
$data : string = ''

read()

public read(int $len) : string
Parameters
$len : int
Return values
string

write()

public write(string $buf) : void
Parameters
$buf : string
On this page

Search results