file::writestring()Write multiple bytes to the opened file (binary mode)
file::writestring(value, position)
value (string) — Bytes to be written (in string sequence)position (number) — Position where value will be written
boolean — Always returns true
import fileio
f = file("data.bin", file_binary + file_write)
f.writestring("Hello", 0x0) ' Write 5 bytes to the position 0
f.close()