Function sp1_lib::io::read_vec

source ·
pub fn read_vec() -> Vec<u8>
Expand description

Read a buffer from the input stream.

§Examples

let data: Vec<u8> = sp1_zkvm::io::read_vec();