Function has

Source
pub unsafe fn has(base_ptr: *const u8, key_ptr: *const u8) -> bool
Expand description

Check if a key exists in the map

ยงSafety

  • base_ptr must point to a valid initialized map
  • key_ptr must point to a valid key of the size specified in the map header