base45
An Base45-encoder/decoder in pure Erlang.
Source code at https://github.com/ratopi/base45.
Import to your project
Use it in your project via rebar dependency:
{deps, [base45]}.
or for a specific release:
{deps, [{base45, "1.0.0"]}.
Or if you like to fetch the source code from github:
{rebar, {git, "https://github.com/ratopi/base45.git", {tag, "1.0.0"}}}.
See https://hex.pm/packages/base45 for more info about the hex package.
Overview of current releases are on the hex-page or at https://github.com/ratopi/base45/releases.
Usage
Usage is just straight forward. Currently only binaries are supported.
Encoding:
base45:encode(<<1,2,3>>).
gives
<<"X5030">>
Decoding:
base45:decode(<<"X5030">>).
gives
<<1,2,3>>
Feedback and bugs
Feel free to give me any feedback you like via github: https://github.com/ratopi/base45/issues