pub fn deserialize_hex<T: Decodable>(hex: &str) -> Result<T, FromHexError>
Expand description

Deserialize any decodable type from a hex string, will error if said deserialization doesn’t consume the entire vector.