public WriteStream(PipeStream buffer) { _buffer = buffer; }
public static void CreatePipe(out Stream write, out Stream read) { var buffer = new PipeStream(); write = new WriteStream(buffer); read = new ReadStream(buffer); }
public ReadStream(PipeStream buffer) { _buffer = buffer; }