Skip to main content

serialize

Function serialize 

Source
pub fn serialize(state: &ControllerState) -> Result<Vec<u8>, Error>
Expand description

Serialize controller state into an opaque TLV blob.

ยงErrors

Returns Error::Cert if a certificate fails to serialize, or Error::Codec if TLV encoding fails.