Skip to main content

validate

Function validate 

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

Validate the map header and structure

§Safety

  • base_ptr must point to a valid map header

§Returns

true if the map is valid, false otherwise