hex_to_bytes_option

Function hex_to_bytes_option 

pub fn hex_to_bytes_option(hex: Option<String>) -> Vec<u8> 
Expand description

Convert a hex string to a byte vector. If the input is None, this returns an empty vector.