Ludwig.Bytes

Table of Contents

Module Members

readFile

(Function)

Read a Ludwig.Bytes from a file.

Example:

bytes: readFile("sqlite.db")

Type Signature

 fun (String) -> Bytes
Argument: filePath

The path of the file to read. Relative paths are considered relative to the directory where the compiler is invoked, not the location of the composition.

Type: String

Returns:

The contents of the file.

Type: Bytes