Use sys.io.File.read to create a FileInput.

Methods

Inherited Variables

Inherited Methods

Defined by Input

readAll (?bufsize:Int):Bytes

Available on Neko, macOS, Linux, Windows

Read and return all available data.

The bufsize optional argument specifies the size of chunks by which data is read. Its default value is target-specific.

readLine ():String

Available on Neko, Android, iOS, macOS, Linux, Windows

Read a line of text separated by CR and/or LF bytes.

The CR/LF characters are not included in the resulting string.