Method Stdio.File()->read()


Method read

string(8bit)|zero read(int|void nbytes, bool|void not_all)

Description

Read (optionally buffered) data from a file or a stream.

Proxy function for Fd::read(), that adds support for the buffering configured by set_buffer_mode()

See also

read_function(), write(), Fd::read()