pqc_format_to_bytes

Function pqc_format_to_bytes 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pqc_format_to_bytes( handle: *const PqcFormatHandle, ) -> ByteBuffer
Expand description

Serialize PQC Binary Format to bytes

§Parameters

  • handle: Handle to PqcBinaryFormat

§Returns

ByteBuffer containing serialized data, or NULL buffer on error

§Safety

Handle must be valid. Returned buffer must be freed with pqc_free_buffer.