pub fn decode_to_array<const N: usize>(s: &str) -> Result<[u8; N], FromHexError>
Decodes hexed string to a byte array.