Skip to main content

encode

Function encode 

Source
pub fn encode(values: &[&[u8]]) -> Result<Vec<u8>>
Expand description

Encodes a chunk of strings, choosing whatever comes out smallest.

ยงErrors

If the chunk is longer than u32::MAX values, or if an encoding produces something its own decoder would not accept.