Operations.read

Read path into the provided buffer beginning at offset.

class Operations
ulong
read
(
const(char)[] path
,
ubyte[] buf
,
ulong offset
)

Parameters

path
Type: const(char)[]

The path to the file to read.

buf
Type: ubyte[]

The buffer to read the data into.

offset
Type: ulong

An offset to start reading at.

Return Value

Type: ulong

The amount of bytes read.

Meta