Garden 🌻

__fs.gdn::write_bytes()

Write bytes to file path.

Each value in bytes must be in the range 0 to 255. If path already exists, its content is replaced.

Example
import "__fs.gdn" as fs
fs::write_bytes([72, 105], Path{ p: "/tmp/foo.bin" })
Source Code
public fun write_bytes(bytes: List<Int>, path: Path): Result<Unit, String> {
  __BUILT_IN_IMPLEMENTATION
}