Macro spinel_write_len
spinel_write_len!() { /* proc-macro */ }
Expand description
In-line proc macro for determining the written length of spinel-formatted data fields.
ยงExample
let len = spinel_write_len!("isc", 1, 2, 3)
.expect("spinel_write_len failed");
assert_eq!(len, 4);