Macro oasis_cbor::cbor_bytes_lit [−][src]
macro_rules! cbor_bytes_lit {
($x : expr) => { ... };
}
Expand description
Creates a CBOR Value of type Byte String with the given byte string literal.
Example usage:
let byte_array = cbor_bytes_lit!(b"foo");