Function insert_option

Source
pub fn insert_option(
    buffer: &mut [u8],
    len: usize,
    last_option: OptionNumber,
    key: OptionNumber,
    value: &[u8],
) -> Result<(usize, OptionNumber), Error>
Expand description

Inserts an option into an option list. Very slow unless called sequentially.