Crate base_pny

Crate base_pny 

Source
Expand description

Encode and decode data with arbitrary bases. This coder supports multicharacter symbols, which allows bases greater than 256.

Symbols in the alphabet must have a uniform length or the encoded data must separate symbols with a delimiter character.

Currently only u128 is supported as a data type.

Structs§

Coder
Coder for a specific alphabet.

Enums§

CoderFactoryError
Error type returned by the Coder factory methods with_uniform_alphabet and with_delimiter.
DecoderError
Error type returned by the decode method of the Coder.