file.write_all_at

Synopsis

local file = require "file"
file.write_all_at(io_object, offset: integer, buffer: byte_span|string) -> integer

Description

Write all of the supplied data at the specified offset before returning.

This operation is implemented in terms of zero or more calls to the device’s write_some_at function.