FileBase.read

Reads data from the file.

struct FileBase
size_t
read
(
scope ubyte[] buf
)

Parameters

buf ubyte[]

The buffer to read the data into. The length of the buffer specifies how much data should be read.

Return Value

Type: size_t

The number of bytes that were read. 0 indicates that the end of the file has been reached.

Meta