Skip to main content

b3ConvertBytesToCompound

Function b3ConvertBytesToCompound 

Source
pub unsafe extern "C" fn b3ConvertBytesToCompound(
    bytes: *mut u8,
    byteCount: c_int,
) -> *mut b3CompoundData
Expand description

Convert bytes to compound. This does not clone. The bytes must remain in scope while the compound is used. This is done to improve run-time performance and allow for instancing. The bytes are mutated to fixup pointers.