what is to be encoded
buffer large enough to hold encoded data
Whether to pad ascii output with '='-chars
char[512] encodebuf; char[] myEncodedString = encode(cast(ubyte[])"Hello, how are you today?", encodebuf); Stdout(myEncodedString).newline; // JBSWY3DPFQQGQ33XEBQXEZJAPFXXKIDUN5SGC6J7
encodes data and returns as an ASCII base32 string.