TMemoryStream.LoadFromFile procedure
Loads the contents of a file into memory.
Declaration
procedure LoadFromFile(const FileName: string)Description
LoadFromFile loads the contents of the file with name
FileName into the memory stream. The current contents of the
memory stream is replaced by the contents of the file. Memory is allocated
as needed.
The LoadFromFile method simply creates a filestream and then
calls the LoadFromStream method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
