Skip to main content

read_row_ids

Function read_row_ids 

Source
pub fn read_row_ids(buf: &[u8]) -> Result<RowIdSequence>
Expand description

Deserialize a rowid sequence from some bytes.

Walks the RowIdSequence wire format directly: a sequence written as Range segments can hold tens of millions of them, and decoding through pb::RowIdSequence would materialize a proto message per segment before folding. Plain Range segments are read straight into the fold, everything else goes through prost.