pub fn write(fd: u32, buf: &[u8])
Write the data buf to the file descriptor fd.
buf
fd
let data = vec![1, 2, 3, 4]; sp1_zkvm::io::write(3, &data);