encodes data and returns as an ASCII hex string.
what is to be encoded
buffer large enough to hold encoded data
char[512] encodebuf; char[] myEncodedString = encode(cast(ubyte[])"Hello, how are you today?", encodebuf); Stdout(myEncodedString).newline; // 48656C6C6F2C20686F772061726520796F7520746F6461793F
See Implementation
encodes data and returns as an ASCII hex string.