Skip to main content

write_resource_directory_to_scratch

Function write_resource_directory_to_scratch 

Source
pub unsafe fn write_resource_directory_to_scratch(
    ptr: *mut u8,
    path: &str,
) -> Result<(), String>
Expand description

Write a resource-directory / base-directory path to scratch. Format: magic (u32), length (u32), UTF-8 bytes.

ยงSafety

ptr must point to a valid SHM allocation.