W3C libwww Architecture

Input and Output Streams

The I/O Stream class defines objects which accepts a sequence of characters to and from a Transport object  The input and output stream are mainly derived from the stream class and contains much of the same functionality. The main difference is that the I/O streams also contains methods for reading and writing to a transport.

Input Streams

An input stream is a stream that can read data from a transport and via a Channel object putting the data down to the application.

Output Streams

The output stream is similar to the generic stream definition in that it has a superset of methods. The param parameter and the mode parameter can be used for whatever purpose suited.


Henrik Frystyk, libwww@w3.org,

@(#) $Id: IOStreams.html,v 1.1 1996/06/08 01:56:34 frystyk Exp $