Skip to main content

hex_array

Function hex_array 

Source
pub fn hex_array<const N: usize>(
    v: &Value,
    what: &'static str,
) -> Result<[u8; N], CryptoError>
Expand description

Decode a hex argument of exactly N bytes.