hex_to_bytes_option

Function hex_to_bytes_option 

Source
pub fn hex_to_bytes_option(hex: Option<String>) -> Vec<u8> 
Available on (32-bit or 64-bit) and (crate features test-utils) only.
Expand description

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