[−][src]Function libipld_cbor::decode::read_map
pub fn read_map<R: Read, K, T: TryReadCbor>(
r: &mut R,
len: usize
) -> Result<BTreeMap<K, T>> where
K: FromStr + Ord,
<K as FromStr>::Err: Error + Send + Sync + 'static,
Reads a map of any type that implements TryReadCbor from a stream of cbor encoded bytes.