Function stream_vbyte::encode
[−]
[src]
pub fn encode<T: Encoder>(input: &[u32], output: &mut [u8]) -> usize
Encode the input slice into the output slice. The worst-case encoded length is 4 bytes per u32
plus another byte for every 4 u32s, including a trailing partial 4-some.
Returns the number of bytes written to the output slice.