jkyin / google-toolbox-for-mac

Automatically exported from code.google.com/p/google-toolbox-for-mac
Apache License 2.0
1 stars 0 forks source link

Feature request: add base85/ascii85 encode in GTMStringEncoding #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
base85/ascii85 has the best compress rate for binary to string encode. please 
consider add it into GTMStringEncoding

Original issue reported on code.google.com by tomasen on 11 Sep 2011 at 8:03

GoogleCodeExporter commented 9 years ago
Actually, it's already supported, just without a shared encoding.  If you look 
at the .m for how the common ones are created, you'll see you can use 
+stringEncodingWithString: and simply provide the string with the mapping 
characters and get full support.

Odds aren't we won't provide a wrapper as it's not clear that the usage is that 
common to justify it, and you can get the same functionality still in a single 
line of code by providing encoding string yourself.

Original comment by thoma...@gmail.com on 12 Sep 2011 at 8:21