Record separator is being lost after string cast
Kagamin via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Feb 4 00:58:13 PST 2015
You can use C functions in D too:
import core.stdc.stdio;
ubyte[] temp = [ 65, 30, 66, 30, 67, 0];
puts(cast(char*)temp.ptr);
More information about the Digitalmars-d-learn
mailing list