pub fn parse_hex_n<const N: usize>(input: &str) -> Result<[u8; N], HexError>Expand description
Parse a hex string into a fixed-size byte array. Errors when the
decoded length doesn’t match N. Useful for IDs, hashes,
public-key bytes that must be exactly N bytes.