alloy_rlp

Function encode_iter

source
pub fn encode_iter<I, B, T>(values: I, out: &mut dyn BufMut)
where I: Iterator<Item = B> + Clone, B: Borrow<T>, T: ?Sized + Encodable,
Expand description

Encode all items from an iterator.

This clones the iterator. Prefer encode_list if possible.