reth_node_core::primitives::revm_primitives::alloy_primitives::hex

Function deserialize

pub fn deserialize<'de, D, T>(
    deserializer: D,
) -> Result<T, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>, T: FromHex, <T as FromHex>::Error: Display,
Expand description

Deserializes a hex string into raw bytes.

Both, upper and lower case characters are valid in the input string and can even be mixed (e.g. f9b4ca, F9B4CA and f9B4Ca are all valid strings).