MessagePack (de)serializer implementation for Erlang / msgpack.org[Erlang]
Go to file
UENISHI Kota be4880148e Merge pull request #6 from msgpack/new_interface
new interface of unpacking: not compatible with 0.0.x - to be 0.1.0
2013-02-03 04:02:49 -08:00
src new interface of unpacking: not compatible with 0.0.x 2013-02-03 21:01:11 +09:00
test new interface of unpacking: not compatible with 0.0.x 2013-02-03 21:01:11 +09:00
.gitignore add gitignore line 2012-07-18 01:02:04 +09:00
.travis.yml drop R14B0x support 2013-02-02 21:12:55 +09:00
LICENSE-2.0.txt add license terms and a bit cosme 2011-05-02 17:29:00 +09:00
Makefile PropEr introduced thanks to @voluntas 2012-07-18 01:00:47 +09:00
README.rst new interface of unpacking: not compatible with 0.0.x 2013-02-03 21:01:11 +09:00
rebar update rebar 2013-02-02 21:00:35 +09:00
rebar.config Replaced git:// protocol with https:// in propEr rebar 2012-08-06 15:48:56 +01:00

##################
MessagePack Erlang
##################

.. image:: https://secure.travis-ci.org/msgpack/msgpack-erlang.png

prequisites for runtime
-----------------------

Erlang runtime system ( http://erlang.org/ ), >= R15B -- rebar won't work.

rebar.config
------------

::

   {deps, [
     {msgpack, ".*",
       {git, "git://github.com/msgpack/msgpack-erlang.git", "master"}}
   ]}.

Simple deserialization

::

   Ham = msgpack:pack(Spam),
   {ok, Spam} = msgpack:unpack(Ham).

Stream deserialization

::

   {Term0, Rest0} = msgpack:unpack_stream(Binary),
   {Term1, Rest1} = msgpack:unpack_stream(Rest0),
   ...


License
-------

Apache License 2.0