Function: fileblob

Syntax

fileblob (<file> {,<map>})

Type

blob

Returns

A blob derived from the contents of a file.

Parameters

Examples

Create a blob from the contents of a file.

blob b = fileblob('c:/temp/myfile.dat')

Create a read-only blob from the mapped contents of a file.

blob b = fileblob('c:/temp/myfile.dat',1)

See Also

Functions:

datablob (blob), textblob (blob), zeroblob (blob)

Structures:

blob