Function trie_db::decode_compact_from_iter
source · pub fn decode_compact_from_iter<'a, L, DB, I>(
db: &mut DB,
encoded: I
) -> Result<(TrieHash<L>, usize), TrieHash<L>, CError<L>>where
L: TrieLayout,
DB: HashDB<L::Hash, DBValue>,
I: IntoIterator<Item = &'a [u8]>,
Expand description
Variant of ‘decode_compact’ that accept an iterator of encoded nodes as input.