encodes data and returns as an ASCII base64 string.
what is to be encoded
char[] myEncodedString = encode(cast(ubyte[])"Hello, how are you today?"); Stdout(myEncodedString).newline; // SGVsbG8sIGhvdyBhcmUgeW91IHRvZGF5Pw==
See Implementation
encodes data and returns as an ASCII base64 string.