Skip to content
An encoder/decoder for base24 binary-to-text encoding in Elixir
Elixir Makefile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
lib
test
.formatter.exs
.gitignore
LICENSE-APACHE
LICENSE-MIT
MAKE.md
Makefile
README.md
mix.exs

README.md

GitHub Workflow Status Hex.pm License Hex.pm

Base24

An encoder/decoder for base24 binary-to-text encoding for Elixir.

Installation

The package can be installed by adding base24 to your list of dependencies in mix.exs:

def deps do
  [
    {:base24, "~> 0.1.0"}
  ]
end

Example

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.

License

Licensed under either of

at your option.

Contribution

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.

You can’t perform that action at this time.