#[no_mangle] pub unsafe extern "C" fn bundle_to_cbor( bndl: *mut Bundle) -> *mut Buffer
Encode a given bundle a CBOR byte buffer
Should only be called from FFI interface. This function can lead to UB as pointer cannot be validated!