Description Usage Arguments Value See Also Examples
De-serialize a 'MsgPack' message. Array is converted into List. Map is converted into Map/Data.frame. Extension types are converted into raw vectors with EXT attribute. Integers, Floats, Strings, Raw and Nil are converted into Integer, Float, Character, Raw and NULL respectively.
1 2 3 | msgpack_unpack(message, simplify = F)
msgpackUnpack(message, simplify = F)
|
message |
A raw vector containing the message. |
simplify |
Default false. Should the return object be simplified? This is generally faster and more memory efficient. |
The message pack object(s) converted into R types. If more than one object exists in the message, a list of class "msgpack_set" containing the objects is returned.
See examples/tests.r for more examples.
1 2 3 4 | x <- msgpack_format(1:10)
x_packed <- msgpack_pack(x)
x_unpacked <- msgpack_unpack(x_packed)
x_simplified <- msgpack_simplify(x_unpacked)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.