#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_codec_cbor_to_json(
cbor: *const u8,
cbor_len: usize,
out_buffer: *mut *mut PamojaBuffer,
) -> PamojaStatusExpand description
Converts a CBOR document into its JSON encoding.
§Returns
PamojaStatus::Ok on success, with *out_buffer set to a new buffer handle
the caller must release with
pamoja_buffer_free, or an error status.
§Safety
cbor must point to at least cbor_len readable bytes, or be null when
cbor_len is 0, and out_buffer must point to a writable
*mut PamojaBuffer.