On 05/28/2013 05:04 PM, Russel Winder wrote:
Hi,

I think I am missing something very obvious…

For unit tests I want a std.stdio.File object that is backed by an in
memory string buffer rather than an actual file on disc, be it temporary
or otherwise.  I think I am missing where this is documented in the
documentation. Or is it actually not available?

Thanks.

This is only available for std.stream http://dlang.org/phobos/std_stream.html#.MemoryStream.

Reply via email to