macro_rules! decode {
($bytes:expr) => { ... };
}Expand description
Helper macro for decoding hexadecimal string in const contexts.
ยงExamples
const FOOBAR: &[u8] = fashex::decode!("48656c6c6f2c20776f726c6421");
assert_eq!(FOOBAR, b"Hello, world!");