Skip to main content

strings_encoded_len

Function strings_encoded_len 

Source
pub fn strings_encoded_len(s: &BlobStrings<'_>, start: usize) -> usize
Expand description

Encoded length of a strings region that begins start bytes into its blob, padded so the planes region that follows starts 8-aligned.

The padding depends on start because the quantization regions before this one are 4-byte-element arrays and can leave it merely 4-aligned.