readBytes : Path -> Result FileError (List Nat) with FileRead
Read a file as its raw bytes (a list of octets 0–255).
import System.BytesreadBytes : Path -> Result FileError (List Nat) with FileRead
Read a file as its raw bytes (a list of octets 0–255).
writeBytes : Path -> List Nat -> Result FileError () with FileWrite
Write a list of octets (0–255) to a file as raw bytes. A value outside 0–255 is a runtime error (byte_out_of_range), raised before anything is written — the target file is left untouched.