Function coap_string_equal_internal

Source
pub unsafe fn coap_string_equal_internal(
    str1_ptr: *const u8,
    str1_len: usize,
    str2_ptr: *const u8,
    str2_len: usize,
) -> bool
Expand description

Internal only function for CoAP string comparisons.

DO NOT USE THIS FUNCTION DIRECTLY. It is only public because it is used by the coap_string_equal macro, which is the function you probably wanted to call instead.

ยงSafety

This function should not be called directly, use coap_string_equal instead.