pub fn write(fd: u32, buf: &[u8]) {
    SyscallWriter { fd }.write_all(buf).unwrap();
}
Write the data `buf` to the file descriptor `fd`.

### Examples
```ignore
let data = vec![1, 2, 3, 4];
sp1_zkvm::io::write(3, &data);
```
crates/zkvm/lib/src/io.rs