Skip to main content

vlq_encode_unsigned

Function vlq_encode_unsigned 

Source
pub fn vlq_encode_unsigned(out: &mut Vec<u8>, value: u64)
Expand description

Encode a single unsigned VLQ value, appending base64 chars to the output buffer.

Unlike signed VLQ, no sign bit is used — all 5 bits per character are data. Used by the ECMA-426 scopes proposal for tags, flags, and unsigned values.