Sign in Join
FPDoc Onlineexperiment

TStreamCollection.SaveToStream procedure

Member of TStreamCollectionpublicIn unit StreamColl

Load the collection from the stream.

Declaration

pascal
procedure SaveToStream(S: TStream)

Arguments

S

Stream to save collection to.

Description

SaveToStream saves the collection to the stream S so it can be read from the stream with LoadFromStream. It does this by writing the number of collection items to the stream, and then streaming all items in the collection by calling their SaveToStream method.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.