Magnus Lie Hetland:

It seems that File has no method for reading the entire file contents into a string, so I'd have to read and concatenate lines or chunks or something?

There are std.file.read() and std.file.readText().

But I agree that std.stdio.File should have a readAll() method
:-) If you think this is a good idea, add it to Bugzilla.

Bye,
bearophile

Reply via email to