|
MediaWiki
REL1_23
|
Static Public Member Functions | |
| static | pack ($value) |
| Encode a value using MessagePack. | |
Static Public Attributes | |
| static | $bigendian = null |
Definition at line 35 of file MWMessagePack.php.
| static MWMessagePack::pack | ( | $ | value | ) | [static] |
Encode a value using MessagePack.
This method supports null, boolean, integer, float, string and array (both indexed and associative) types. Object serialization is not supported.
| mixed | $value |
| InvalidArgumentException | if $value is an unsupported type or too long a string |
Definition at line 51 of file MWMessagePack.php.
Referenced by ProfilerMwprof\logData(), and MWMessagePackTest\testPack().
MWMessagePack::$bigendian = null [static] |
Definition at line 38 of file MWMessagePack.php.