|
3 months ago | |
---|---|---|
.github/workflows | 1 year ago | |
lib | 1 year ago | |
test | 1 year ago | |
.formatter.exs | 1 year ago | |
.gitignore | 1 year ago | |
LICENSE-APACHE | 1 year ago | |
LICENSE-MIT | 1 year ago | |
MAKE.md | 1 year ago | |
Makefile | 3 months ago | |
README.md | 1 year ago | |
mix.exs | 3 months ago | |
mix.lock | 3 months ago |
An encoder/decoder for base24 binary-to-text encoding for Elixir.
The package can be installed by adding base24
to your list of dependencies in
mix.exs
:
def deps do
[
{:base24, "~> 0.1.0"}
]
end
val = Base24.encode24(<<0x88, 0x55, 0x33, 0x11>>)
# val is "5YEATXA"
bytes = Base24.decode24(val)
# bytes is <<0x88, 0x55, 0x33, 0x11>>
API documentation https://hexdocs.pm/base24.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.