MemoryConduit

kris foo at bar.com
Tue Feb 13 11:13:22 PST 2007


Alberto wrote:
 > this give me:
 > end-of-file whilst reading

The reason for the Eof is that you need to flush the output first. In 
Tango pretty much all IO above the level of a Conduit is buffered, so 
you'd need to do this:

# write (data) ();

or

# write (data).flush;


More information about the Digitalmars-d-learn mailing list