Phobos vs Tango! What's your opinion?
Alexander Panek
a.panek at brainsware.org
Wed Apr 18 09:05:14 PDT 2007
Deewiant wrote:
> [...]
> I don't quite agree with this, but I do prefer free functions in many cases. I
> can accept having a File class for "heavy-duty" file handling, but I still find
> myself missing a simple function for just dumping an ubyte[] array of a file's
> contents.
http://dsource.org/projects/tango/docs/current/tango.io.File.html
auto contentOfAFile = (new File( "filename" )).read;
There you go.
More information about the Digitalmars-d
mailing list