readFile

Reads a file, terminate the program on error

  1. Buffer readFile(Loc loc, const(char)* filename)
    nothrow
    readFile
    (,
    const(char)* filename
    )
  2. Buffer readFile(Loc loc, const(char)[] filename)

Parameters

loc Loc

The line number information from where the call originates

filename const(char)*

Path to file

Meta