MakeBlobFromDiskFile (open)

Open an existing file on disk as a blob

Syntax

LOADLIB "wh::files.whlib";

BLOB FUNCTION MakeBlobFromDiskFile(STRING path)

Parameters

STRING path

Path to the file to open.

Return value

BLOB

A blob with the file, or an empty blob if the file does not exist