Gda.fileLoad

Loads a file, specified by the given uri, and returns the file contents as a string. It is the caller's responsibility to free the returned value.

class Gda
static
string
fileLoad
(
string filename
)

Parameters

filename string

path for the file to be loaded.

Return Value

Type: string

the file contents as a newly-allocated string, or NULL if there is an error.

Meta