Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
MessagePack for Elixir
Elixir
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
README.md
mix.exs
mix.lock
package.head.exs

README.md

MsgPack for Elixir

MsgPack (http://msgpack.org) implementation for Elixir

Examples

iex(1)> b = MsgPack.pack([1,2,["3", [{"a","b"}]]])
<<147,1,2,146,161,51,129,161,97,161,98>>
iex(2)> b |> MsgPack.unpack
{[1,2,["3",[{"a","b"}]]],""}
iex(3)> [b,b] |> iolist_to_binary |> MsgPack.next
{<<147,1,2,146,161,51,129,161,97,161,98>>,<<147,1,2,146,161,51,129,161,97,161,98>>}
Something went wrong with that request. Please try again.