FileSizeUtf8 function
Gets the size for the specified file name.
Declaration
function FileSizeUtf8(const Filename: string): Int64Arguments
Filename | File name examined in the function. |
Function result
Size of the file on the local file system.
Description
FileSizeUTF8 is an
Int64 function used to get the size
for the file specified in the UTF-8-encoded
Filename argument.
FileSizeUTF8 calls
Utf8ToSys to convert the value in Filename to
the system string type type, and calls the
FindFirst routine in
the
SysUtils unit to get the size for the specified file name.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
