Qore msgpack Module
1.0.0
|
MessagePack packing and unpacking class. More...
Public Member Methods | |
constructor (int mode=MSGPACK_SIMPLE_MODE) | |
Creates the MsgPack object. More... | |
int | getOperationMode () |
Get module operation mode. More... | |
*binary | pack (auto value) |
Pack the passed data. More... | |
nothing | setOperationMode (int mode) |
Set operation mode. More... | |
auto | unpack (binary value) |
Unpack the passed data. More... | |
MessagePack packing and unpacking class.
MessagePack module packing and unpacking class.
msgpack::MsgPack::constructor | ( | int | mode = MSGPACK_SIMPLE_MODE | ) |
int msgpack::MsgPack::getOperationMode | ( | ) |
Get module operation mode.
*binary msgpack::MsgPack::pack | ( | auto | value | ) |
Pack the passed data.
value | value to pack |
ENCODING-ERROR | encoding error occured during packing |
PACK-ERROR | packing failed |
nothing msgpack::MsgPack::setOperationMode | ( | int | mode | ) |
Set operation mode.
mode | MsgPack module operation mode |
INVALID-MODE | passed operation mode is invalid |
auto msgpack::MsgPack::unpack | ( | binary | value | ) |
Unpack the passed data.
value | data to unpack |
ENCODING-ERROR | encoding error occured during unpacking |
INVALID-MODE | passed operation mode is invalid |
UNPACK-ERROR | unpacking failed |