Skip to content

funbox/eleb128

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eleb128

Build Status

LEB128 Erlang implementation.

Build

make

Tests

make test

Usage

$ make run
1> application:load(eleb128).
ok
2> eleb128:signed_encode(-128).
<<128,127>>
3> eleb128:unsigned_encode(128).
<<128,1>>
4> eleb128:signed_decode(<<128,127>>).
{-128,<<>>}
5> eleb128:unsigned_decode(<<128,1>>).
{128,<<>>}

Sponsored by FunBox