Methods

readΒΆ

read(fd:Int)

Read all data from a file referenced by file descriptor without parsing it.
Source: stdlib.ngs:2844

fd

File descriptor to read from

Returns

Str

Example

read(0)  # All data from stdin