| [Overview][Types][Classes][Procedures and functions][Index] |
Loads the content in the stream from the specified file.
Source position: lazutf8classes.pas line 38
public procedure TMemoryStreamUTF8.LoadFromFile( |
const FileName: string |
); |
FileName |
|
File name where where content for the stream is stored. |
LoadFromFile is a procedure used to load the content for the stream from the specified file name. LoadFromFile uses a TFileStreamUTF8 instance to open the file specified in FileName, and calls LoadFromStream to store the contents in the memory stream.