TMemDataset.WriteMarker procedure
Writes the specified marker to the internal stream for the in-memory dataset.
Declaration
procedure WriteMarker(F: TStream; Marker: Integer)Arguments
F | Stream used to write the marker value. |
Marker | Marker value written to the stream. |
Description
WriteMarker is a procedure used to write the specified marker to the internal stream for the in-memory dataset. Markers are used to separate field definitions from the record data in the stream. A marker is also used to indicate the end of the stream. WriteMarker is used in methods which write the content for the in-memory dataset, such as: SaveToStream, SaveFieldDefsToStream, and SaveDataToStream.
Marker contains one of the predefined marker constants: smFieldDefs, smData, or smEOF. WriteMarker writes the value in Marker to to the stream in F.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
