I tried looking for this in phobos but cant seem to find it which
is really annoying. For my uses this works:
struct fileOutRange
{
File f;
void put(ubyte[] a)
{
f.rawWrite(a);
}
}
But was just wondering if there was a real output range for files
On Sun, Jan 24, 2016 at 12:38:22PM +, Tofu Ninja via Digitalmars-d-learn
wrote:
> I tried looking for this in phobos but cant seem to find it which is
> really annoying. For my uses this works:
What kind of data do you need to write to file? If it's textual data,
use File.lockingTextWriter,
On Sunday, 24 January 2016 at 15:08:33 UTC, H. S. Teoh wrote:
On Sun, Jan 24, 2016 at 12:38:22PM +, Tofu Ninja via
Digitalmars-d-learn wrote:
I tried looking for this in phobos but cant seem to find it
which is really annoying. For my uses this works:
What kind of data do you need to