pub fn serialize_params(params: MessageParams) -> Result<Vec<u8>, SignerError> {
    let serialized_params = params.serialize()?;
    let message_cbor = serialized_params.bytes().to_vec();
    Ok(message_cbor)
}
/// Utilitary function to serialize parameters of a message. Return a CBOR hexstring.
///
/// # Arguments
///
/// * `params` - Parameters to serialize
Utilitary function to serialize parameters of a message. Return a CBOR hexstring.
Utilitary function to serialize parameters of a message . Return a CBOR hexstring .
pub fn serialize_params(params: MessageParams) -> Result<Vec<u8>, SignerError> {
    let serialized_params = params.serialize()?;
    let message_cbor = serialized_params.bytes().to_vec();
    Ok(message_cbor)
}
pub fn serialize_params ( params : MessageParams ) -> Result < Vec < u8 > , SignerError > { let serialized_params = params . serialize ( ) ? ; let message_cbor = serialized_params . bytes ( ) . to_vec ( ) ; Ok ( message_cbor ) }
Utilitary function to serialize parameters of a message.
Utilitary function to serialize parameters of a message .
params
MessageParams
params
MessageParams