2014-09-17 22:02:23 +02:00
node-red-node-msgpack
=====================
A < a href = "http://nodered.org" target = "_new" > Node-RED< / a > node to pack and unpack objects to msgpack format buffers.
Install
-------
2016-03-02 14:27:48 +01:00
Run the following command in your Node-RED user directory - typically `~/.node-red`
2014-09-17 22:02:23 +02:00
npm install node-red-node-msgpack
Usage
-----
Uses the < a href = "https://www.npmjs.org/package/msgpack" > msgpack npm< / a > to pack and unpack msg.payload objects to < a href = "http://msgpack.org/" > msgpack< / a > format buffers.
2015-02-14 19:23:36 +01:00
If the input is NOT a buffer it converts it into a msgpack buffer.
2014-09-17 22:02:23 +02:00
2015-02-14 19:23:36 +01:00
If the input is a msgpack buffer it converts it back to the original type.