#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_audit_entry_to_bytes(
entry: *const PamojaAuditEntry,
) -> *mut PamojaBufferExpand description
Encodes an entry for storage or transmission.
§Arguments
entry- the entry to encode.
§Returns
A buffer the caller must release with
pamoja_buffer_free, or null if entry is null.
§Safety
entry must be a live handle from a call that produced one, or null.