[−][src]Function bluetooth_mesh::crypto::hex_16_to_array
pub fn hex_16_to_array(hex: &str) -> Option<[u8; 16]>
Helper function to convert a 16 byte (32 character) hex string to 16 byte array.
Returns None
if hex.len() != 32
or if hex
contains non-hex characters.