FiberFile.write

size_t write(scope const(ubyte)[] data, ulong offset) @trusted

Write data at the given offset. Yields until the write completes.

Parameters

dataThe bytes to write.
offsetFile offset to start writing at.

Returns

The number of bytes written.

Throws

FiberIoException on write error.