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