file_write_binary
Declaration
file_write_binary :: fn (file: File, data: *u8, size: usize) usize
Description
Write content of passed buffer into the binary file. File must be valid file handle openned for writing. Function returns zero written bytes if writing is not possible.
Arguments
file
File to be modified.data
Source data buffer.size
Count of bytes to be written.
Result:
Bytes written into file.
Declared in: file.bl