[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'LazUTF8Classes' (#lazutils)

TMemoryStreamUTF8.SaveToFile

Stores the content in the stream to the specified file.

Declaration

Source position: lazutf8classes.pas line 39

public procedure TMemoryStreamUTF8.SaveToFile(

  const FileName: string

);

Arguments

FileName

  

File name where content in the stream is stored.

Description

SaveToFile is a procedure used to store the content in the memory stream to the specified file name. SaveToFile uses a TFileStreamUTF8 instance to create the file in FileName, and calls SaveToStream to write the content in the memory stream.

See also

TCustomMemoryStream.SaveToFile