Sign in Join
FPDoc Onlineexperiment

TStrCollection.GetItem function

Member of TStrCollectionIn unit Objects

Read a null-terminated string from the stream.

Declaration

pascal
function GetItem(var S: TStream): Pointer; virtual

Description

GetItem reads a null-terminated string from the stream S and returns a pointer to it. It doesn't insert the string in the collection.

This method is primarily introduced to be able to load and store the collection from and to a stream.

Errors

The errors returned are those of StrRead.

See also

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