pub unsafe extern "C-unwind" fn AEUnflattenDescFromBytes(
buffer: *const c_void,
buffer_len: usize,
result: *mut AEDesc,
) -> i32Available on crate feature
AEDataModel only.Expand description
Allocates an AEDesc (given a Null Desc) constructed from a flattened data buffer produced by calling AEFlattenDesc.
Parameter buffer: A pointer to data produced by AEFlattenDesc
Parameter bufferLen: The size of the data referenced by buffer
Parameter result: On successful completion, a pointer to an AEDesc* containing the unflattened descriptor. The caller is responsible for disposing of it.
Returns: noErr on success, paramErr if the buffer could not be parsed, or memFullErr for irrational memory sizes.
ยงSafety
buffermust be a valid pointer.resultmust be a valid pointer.