pub fn read_network_index(
layout: &NetworkLayout,
shard: &[u8],
) -> Result<Vec<Option<ShardIndexEntry>>, DecodeError>Expand description
Read the shard index out of the whole shard, CRC-32C verified, every written chunk lying inside the shard and outside the index.