Skip to main content

encode_segment_prefix

Function encode_segment_prefix 

Source
pub fn encode_segment_prefix(segment: impl AsRef<[u8]>) -> Vec<u8> 
Expand description

Escape a partial segment without appending its terminator.

This is useful for prefix scans over the first segment of a composite key.