Skip to main content

pamoja_manifest_encode

Function pamoja_manifest_encode 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_manifest_encode( manifest: PamojaManifest, ) -> *mut PamojaBuffer
Expand description

Encodes the body of a manifest, which is the part a signature covers.

§Arguments

  • manifest - the manifest to encode.

§Returns

A buffer the caller must release with pamoja_buffer_free, or null if the manifest carries a payload format this build cannot write.