pub fn decode( bytes: &[u8], key: &IndexKey, ) -> Result<(Topology, IdMap), DecodeError>
Read the main part of the index in bytes, which must be stored under key. Chunks are not read.
bytes
key