Function sp1_lib::io::write

source ·
pub fn write(fd: u32, buf: &[u8])
Expand description

Write the data buf to the file descriptor fd.

§Examples

let data = vec![1, 2, 3, 4];
sp1_zkvm::io::write(3, &data);