pqc_format_from_bytes

Function pqc_format_from_bytes 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pqc_format_from_bytes( data: *const c_uchar, len: usize, ) -> *mut PqcFormatHandle
Expand description

Deserialize PQC Binary Format from bytes

§Parameters

  • data: Bytes to deserialize
  • len: Length of data

§Returns

Handle to PqcBinaryFormat, or NULL on error

§Safety

Data pointer must be valid. Returned handle must be freed with pqc_format_free.