My question is now: How can I make this work without using deprecated stuff?
import std.cstream; void foo(InputStream in_stream, OutputStream out_stream) { // in_stream.seek(3); // compile error - good :) char[] line; while ((line = in_stream.readLine()) !is null) out_stream.writeLine(line); } void main(string[] args) { foo(din, dout); }