[][src]Function libcoap_sys::coap_opt_encode_size

pub unsafe extern "C" fn coap_opt_encode_size(
    delta: u16,
    length: usize
) -> usize

Compute storage bytes needed for an option with given @p delta and @p length

@param delta The option delta. @param length The option length.

@return The number of bytes required to encode this option.