miden_crypto::utils

Function hex_to_bytes

source
pub fn hex_to_bytes<const N: usize>(
    value: &str,
) -> Result<[u8; N], HexParseError>
Expand description

Parses a hex string into an array of bytes of known size.