PHP Class MessagePack, zephir

Afficher le fichier Open project: phalcon/zephir Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( boolean $opt = null ) MessagePack constructor.
pack ( mixed $value ) : string
setOption ( integer $option, boolean $value )
unpack ( string $str, mixed $object = null ) : mixed
unpacker ( ) : MessagePackUnpacker

Method Details

__construct() public méthode

MessagePack constructor.
public __construct ( boolean $opt = null )
$opt boolean

pack() public méthode

public pack ( mixed $value ) : string
$value mixed
Résultat string

setOption() public méthode

public setOption ( integer $option, boolean $value )
$option integer
$value boolean

unpack() public méthode

public unpack ( string $str, mixed $object = null ) : mixed
$str string
$object mixed
Résultat mixed

unpacker() public méthode

public unpacker ( ) : MessagePackUnpacker
Résultat MessagePackUnpacker