std.file.read

bearophile bearophileHUGS at lycos.com
Mon Aug 2 03:53:24 PDT 2010


Dmitry Olshansky:

> Well, it  magically converts to whatever array type you have.  So this works:
> ubyte[] data = read("trash.txt");

In more than tree years of nearly daily usage of D I have not even tried to write that code :-)
Thank you,
bearophile


More information about the Digitalmars-d-learn mailing list