PHP Class SplFixedByteArray

Inheritance: extends SplFixedArray
Show file Open project: ClearSkyTeam/ClearSky

Public Methods

Method Description
__construct ( $size, $convert = false )
__toString ( )
chunk ( $start, $size, $normalize = true )
fromString ( string $str, boolean $convert = false ) : SplFixedByteArray
fromStringChunk ( string $str, integer $size, integer $start, boolean $convert = false ) : SplFixedByteArray
toString ( )

Method Details

__construct() public method

public __construct ( $size, $convert = false )

__toString() public method

public __toString ( )

chunk() public method

public chunk ( $start, $size, $normalize = true )

fromString() public static method

public static fromString ( string $str, boolean $convert = false ) : SplFixedByteArray
$str string
$convert boolean
return SplFixedByteArray

fromStringChunk() public static method

public static fromStringChunk ( string $str, integer $size, integer $start, boolean $convert = false ) : SplFixedByteArray
$str string
$size integer
$start integer
$convert boolean
return SplFixedByteArray

toString() public method

public toString ( )