pub fn decode_to_array<const N: usize>(src_hex: &[u8]) -> Result<[u8; N], Error>
Decode exactly N bytes from a hex string of length 2*N.
N
2*N
Returns Error::OutputTooSmall if src_hex.len() / 2 != N.
Error::OutputTooSmall
src_hex.len() / 2 != N