__fs.gdn::write_bytes()
Write bytes to file path.
bytes
path
Each value in bytes must be in the range 0 to 255. If path already exists, its content is replaced.
import "__fs.gdn" as fs fs::write_bytes([72, 105], Path{ p: "/tmp/foo.bin" })
public fun write_bytes(bytes: List<Int>, path: Path): Result<Unit, String> { __BUILT_IN_IMPLEMENTATION }