Function bcs::from_bytes_seed_with_limit
source · pub fn from_bytes_seed_with_limit<'a, T>(
seed: T,
bytes: &'a [u8],
limit: usize
) -> Result<T::Value>where
T: DeserializeSeed<'a>,
Expand description
Same as from_bytes_seed
but use limit
as max container depth instead of MAX_CONTAINER_DEPTHNote that
limit` has to be lower than MAX_CONTAINER_DEPTH