3 releases

0.1.2 Feb 26, 2022
0.1.1 Feb 26, 2022
0.1.0 Feb 26, 2022

#2324 in Encoding

MIT/Apache

53KB
1.5K SLoC

base131072

I originally made this crate in order to pack some data into tweets. However halfway through making the crate, I discovered with the help of a very helpful table that Twitter weights its characters, and that Base131072 is not actually the most efficient way to encode information on Twitter, but rather Base2048. Another very good crate implements Base2048.

However, this crate should still work, should you want to encode something Base131072 for some reason!

License: MIT OR Apache-2.0


lib.rs:

I originally made this crate in order to pack some data into tweets. However halfway through making the crate, I discovered with the help of a very helpful table that Twitter weights its characters, and that Base131072 is not actually the most efficient way to encode information on Twitter, but rather Base2048. Another very good crate implements Base2048.

However, this crate should still work, should you want to encode something Base131072 for some reason!

No runtime deps