The library provides a type for representing a stream of characters for input/output. Such a stream is represented by the type jas_stream_t. Streams (in the JasPer library) are similar to I/O streams in the C standard library but have a few additional functionalities. In particular, with JasPer I/O streams, it is possible to:
The possible underlying sources/sinks for a stream include:
The following functions are used for opening/closing streams:
The following functions are used for reading/writing streams:
The following functions are used for getting/setting the position within a stream:
Numerous other functions for streams are also provided, including: