Skip to main content

setup_varint

Function setup_varint 

Source
fn setup_varint(options: &[KeyValuePair], key: u64) -> u64
Expand description

Read a Setup Option’s value as a variable-length integer, or 0 if it is absent.

Zero is also the default every numeric option in Section 10.3.1 takes when it is not sent, so an absent option and an explicit zero mean the same thing and do not need to be told apart.