FileInputStream.readFromStream

Reads up to buffer.length bytes from the file.

struct FileInputStream
readFromStream
(
ubyte[] buffer
)

Parameters

buffer ubyte[]

The buffer to read into.

Return Value

The number of bytes that were read, or an error if fread fails.

Meta