convert string to ubyte[]

aki aki at google.com
Sun Nov 12 07:20:12 UTC 2017


On Saturday, 11 November 2017 at 15:48:59 UTC, Mike Parker wrote:
> auto s = "hello";
> auto bytes = s.representation;
>
> https://dlang.org/phobos/std_string.html#.representation

Thank you for the replay.
Now I know.

aki



More information about the Digitalmars-d-learn mailing list