how to raw read a struct or value?
hasnoth
hasnoth at mail.com
Thu Jul 14 02:01:29 PDT 2011
auto file = io.File("test.txt", "rb");
auto fp = file.getFP();
int x;
io.fread(&x, x.sizeof, 1, fp);
what's the d method to do that?
More information about the Digitalmars-d-learn
mailing list