#[unsafe(no_mangle)]pub unsafe extern "C" fn openbim_ifc_v0_1_model_write_ifczip(
model: OpenbimIfcModel,
inner: *const u8,
inner_len: usize,
profile: *const u8,
profile_len: usize,
buffer: *mut u8,
capacity: usize,
out_required: *mut usize,
) -> OpenbimIfcStatusExpand description
Serialize as an ifcZIP archive into a caller buffer; out_required gets
the size.
inner (UTF-8, inner_len bytes) is null with length 0 or step for
STEP inside (model.ifc), or ifcxml (any case) for ifcXML
(model.ifcXML) in the layout profile names as for
openbim_ifc_v0_1_model_write_ifcxml. InvalidValue for another
inner or a profile with STEP inside; otherwise as the inner write,
and FeatureDisabled without the zip feature.
ยงSafety
As openbim_ifc_v0_1_model_write; inner and profile, if non-null,
valid for inner_len and profile_len reads.