cached_geometry_slice

Function cached_geometry_slice 

Source
pub(super) fn cached_geometry_slice(cached: &[u8]) -> Option<&[u8]>
Expand description

Return the geometry slice from a cached combined-Parquet blob, framed as [geometry_len: u32-LE][geometry_data][data_model_len: u32].... Returns None (rather than panicking) when the blob is too short to hold the length header or declares a geometry length that runs past the buffer — the caller treats that as a cache miss and re-parses.