Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Introduction to streams

A stream is a sequence of binary data; it is the external representation of one or more objects.

A store is a collection of streams, each of which has a unique identity. An object stores itself by externalizing its data to one or more streams using the write stream interface and restores itself by internalizing from the same streams using the read stream interface.

An instance of a class can be externalized to a stream, and internalized from a stream, by adding definitions and implementations for the two functions, InternalizeL() and ExternalizeL() to that class.

A class that defines and implements these functions is a store-aware class.