Description Usage Arguments Value See Also Examples
Serialize any number of objects into a single message. Unnamed List is converted into Array, Map/Data.frame and Named Lists are converted into Maps. Integer, Double, Character, Raw vectors and NULL are converted into Int types (depending on size), Float types, String, Raw and Nil respectively. Raw vectors with EXT attribute are converted into Extension types. The EXT attribute should be an integer from 0 to 127.
1 2 3 |
... |
Any R objects that have corresponding msgpack types. |
A raw vector containing the message.
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.