![[LISPWORKS]](/image.pl?url=http%3a%2f%2fwww.lispworks.com%2fdocumentation%2fHyperSpec%2fBody%2f..%2fGraphics%2fLWSmall.gif&f=jpg&w=240)
![[Common Lisp HyperSpec (TM)]](/image.pl?url=http%3a%2f%2fwww.lispworks.com%2fdocumentation%2fHyperSpec%2fBody%2f..%2fGraphics%2fCLHS_Sm.gif&f=jpg&w=240)
Class Precedence List:
Description:
Aconcatenated stream is aninputstream which is acomposite stream of zero or more otherinputstreams, such that the sequence of data which can be read from theconcatenated stream is the same as the concatenation of the sequences of data which could be read from each of the constituentstreams.
Input from aconcatenated stream is taken from the first of the associatedinputstreams until it reachesend of file[1]; then thatstream is discarded, and subsequent input is taken from the nextinputstream, and so on. Anend of file on the associatedinputstreams is always managed invisibly by theconcatenated stream---the only time a client of aconcatenated stream sees anend of file is when an attempt is made to obtain data from theconcatenated stream but it has no remaininginputstreams from which to obtain such data.
See Also:
concatenated-stream-streams,make-concatenated-stream