Pike v8.0 release 1738

Method Stdio.File()->read()


Method read

string(8bit) 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()