Function diem_fuzzer::fuzz_data_to_value
source · pub fn fuzz_data_to_value<T: Debug>(
data: &[u8],
strategy: impl Strategy<Value = T>
) -> T
Expand description
Helper to convert a bytearray to a value implementing the Arbitrary trait.