string encryption

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 1 17:29:45 PDT 2016


On Saturday, 2 July 2016 at 00:05:14 UTC, Hiemlick Hiemlicker 
wrote:
> Is there a way to write a wrapper around such that
>
> mystring s = "a string that will be converted and not appear in 
> binary";
> writeln(s);

You just need to put a `string toString() { return whatever; }` 
function on `mystring`



More information about the Digitalmars-d mailing list