Function bp7::ffi::bundle_to_cbor

source ·
#[no_mangle]
pub unsafe extern "C" fn bundle_to_cbor(
    bndl: *mut Bundle
) -> *mut Buffer
Expand description

Encode a given bundle a CBOR byte buffer

Safety

Should only be called from FFI interface. This function can lead to UB as pointer cannot be validated!