JDanielSmith / Base16k

More efficient encoding of binary data in a Unicode (i.e., UTF-16) string
Other
2 stars 0 forks source link
base64 binary encoding string unicode utf-16

Base16k

More efficient encoding of binary data in a Unicode (i.e., UTF-16 as is common on Windows and the default in C#) string

Based on work by Markus Scherer at https://sites.google.com/site/markusicu/unicode/base16k

This code is hereby placed in the Public Domain. Jim Beveridge, November 29, 2011.

C# port of http://qualapps.blogspot.com/2011/11/base64-for-unicode-utf16.html This code is hereby placed in the Public Domain. J. Daniel Smith, February 23, 2015

More details at http://stackoverflow.com/questions/646974/is-there-a-standard-technique-for-packing-binary-data-into-a-utf-16-string