Annotated Ada Reference ManualLegal Information
Contents   Index   References   Search   Previous   Next 

13.13 Streams

A stream is a sequence of elements comprising values from possibly different types and allowing sequential access to these values. A stream type is a type in the class whose root type is Streams.Root_Stream_Type. A stream type may be implemented in various ways, such as an external sequential file, an internal buffer, or a network channel. 
Discussion: A stream element will often be the same size as a storage element, but that is not required. 
Glossary entry: A stream is a sequence of elements that can be used, along with the stream-oriented attributes, to support marshalling and unmarshalling of values of most types.

Extensions to Ada 83

Streams are new in Ada 95.

Contents   Index   References   Search   Previous   Next 
Ada-Europe Ada 2005 and 2012 Editions sponsored in part by Ada-Europe