Crate proc_concat_bytes

Source
Expand description

Concatenates byte literals

§Examples

use proc_concat_bytes::concat_bytes;
let c_str = std::ffi::CStr::from_bytes_with_nul(&concat_bytes!(b"Hello World!", b'\0')[..]).unwrap();

Macros§

concat_bytes