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