Device.pwrite

Write a chunk of bytes to the file starting from the given offset, from the provided array

class Device
size_t
pwrite
(
const(void)[] src
,
off_t offset
)

Parameters

src const(void)[]

source buffer to write data from

offset off_t

offset to start writing from

Return Value

Type: size_t

number of bytes written

Throws

File.IOException on failure

Meta