FileSystem.read

Read data from an open file.

Read should return exactly the number of bytes requested except on EOF or error, otherwise the rest of the data will be substituted with zeroes. An exception to this is when the 'direct_io' mount option is specified, in which case the return value of the read system call will reflect the return value of this operation.

class FileSystem
@null
int
read
(
string path
,
ubyte* buff
,
size_t
,
off_t off
,)

Meta