PHP Class BytesIO, zys

Show file Open project: qieangel2013/zys Class Usage Examples

Protected Properties

Property Type Description
$buffer
$length
$mark
$pos

Public Methods

Method Description
__construct ( $string = '' )
__toString ( )
close ( )
eof ( )
getc ( )
length ( )
load ( $filename )
mark ( )
read ( $n )
readString ( $n )
readfull ( )
readuntil ( $tag )
reset ( )
save ( $filename )
skip ( $n )
toString ( )
unmark ( )
write ( $str, $n )

Method Details

__construct() public method

public __construct ( $string = '' )

__toString() public method

public __toString ( )

close() public method

public close ( )

eof() public method

public eof ( )

getc() public method

public getc ( )

length() public method

public length ( )

load() public method

public load ( $filename )

mark() public method

public mark ( )

read() public method

public read ( $n )

readString() public method

public readString ( $n )

readfull() public method

public readfull ( )

readuntil() public method

public readuntil ( $tag )

reset() public method

public reset ( )

save() public method

public save ( $filename )

skip() public method

public skip ( $n )

toString() public method

public toString ( )

unmark() public method

public unmark ( )

write() public method

public write ( $str, $n )

Property Details

$buffer protected property

protected $buffer

$length protected property

protected $length

$mark protected property

protected $mark

$pos protected property

protected $pos