Function sp1_lib::io::commit_slice

source ·
pub fn commit_slice(buf: &[u8])
Expand description

Commit bytes to the public values stream.

§Examples

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