Skip to main content Link Menu Expand (external link) Document Search Copy Copied

This is automatic generated document for things in Swow\Psr7\Message\BufferStream class

Class BufferStream

Properties

protected $buffer protected $offset

Methods

Method __construct

public function __construct ( (scalar | Stringable | Buffer) $data )

Method __toString

public function __toString ( ) : string

Method close

public function close ( ) : void

Method detach

public function detach ( ) : never

Method eof

public function eof ( ) : bool

Method getContents

public function getContents ( ) : string

Method getMetadata

public function getMetadata ( mixed $key ) : mixed

Method getSize

public function getSize ( ) : int

Method isReadable

public function isReadable ( ) : bool

Method isSeekable

public function isSeekable ( ) : bool

Method isWritable

public function isWritable ( ) : bool

Method read

public function read ( mixed $length ) : string

Method rewind

public function rewind ( ) : void

Method seek

public function seek ( mixed $offset , mixed $whence ) : void

Method tell

public function tell ( ) : int

Method toString

public function toString ( ) : string

Method write

public function write ( mixed $string ) : int

Copyright 2022 the Swow contributors