Base24 v0.1.3 Base24 View Source
Base24 encoder and decoder.
Link to this section Summary
Link to this section Functions
Decode a String to a binary
The byte_size() of the string must be a multiple of 7.
Examples
iex> Base24.decode24("5YEATXA")
<<0x88, 0x55, 0x33, 0x11>>
Encode bytes to a String (binary)
The byte_size() of the string must be a multiple of 4.
Examples
iex> Base24.encode24(<<0x88, 0x55, 0x33, 0x11>>)
"5YEATXA"