lookup

Function lookup 

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

Lookup an existing entry 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

§Returns

Pointer to the found value, or null if not found