[][src]Function libra_fuzzer::fuzz_data_to_value

pub fn fuzz_data_to_value<T: Debug>(
    data: &[u8],
    strategy: impl Strategy<Value = T>
) -> T

Helper to convert a bytearray to a value implementing the Arbitrary trait.