Skip to main content

parse_column_index

Function parse_column_index 

Source
pub fn parse_column_index(
    layout: &ColumnLayout,
    bytes: &[u8],
) -> Result<Vec<Option<ShardIndexEntry>>, DecodeError>
Expand description

Parse one shard’s index, CRC-32C verified, no chunk lying inside an index at the shard’s start. bytes is exactly the index.