Skip to content

cabo/excbor

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Jan 25, 2014
Jan 27, 2014
Jan 25, 2014

ExCBOR

Build Status

Implementation of RFC 7049 CBOR (Concise Binary Object Representation) for Elixir.

Examples

iex(1)> a = CBOR.encode([1, [2, 3]])
<<130, 1, 130, 2, 3>>
iex(2)> CBOR.decode(a)
[1, [2, 3]]
iex(3)> CBOR.decode_with_rest(a <> a)
{[1, [2, 3]], <<130, 1, 130, 2, 3>>}

Caveats

The API is simple enough, but some feedback is encouraged.

This needs at least elixir 0.12.3-dev because of bug 2012.

About

CBOR (RFC 7049) for Elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages