An encoder/decoder for base24 binary-to-text encoding in Elixir
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Nicolas Goy 80dcf30054 Update URL 3 months ago
.github/workflows Create elixir.yml 1 year ago
lib Base version 1 year ago
test Add a few hard coded tests 1 year ago
.formatter.exs Base version 1 year ago
.gitignore Base version 1 year ago
LICENSE-APACHE Base version 1 year ago
LICENSE-MIT Base version 1 year ago
MAKE.md Base version 1 year ago
Makefile Clean deps 3 months ago
README.md Update README 1 year ago
mix.exs Update URL 3 months ago
mix.lock Clean deps 3 months ago

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.