Function ockam_core::hex_encoding::deserialize

source ·
pub fn deserialize<'de, D>(deserializer: D) -> Result<Vec<u8>, D::Error>
where D: Deserializer<'de>,
Expand description

To keep back-compatibility we parse both sequence of integer or a hex string