VFSFileInput.read

Read at most target.length bytes starting at current file position to target.

If the file does not have enough bytes to fill target or a _reading error is encountered, it reads as much data as possible and returns the part of target containing the read data.

struct VFSFileInput
void[]
read
(
void[] target
)

Return Value

Type: void[]

Slice of _target containing the read data.

Meta