Macro data_encoding_macro::decode_slice 
source · macro_rules! decode_slice { ($($arg: tt)*) => { ... }; }
Expand description
Defines a compile-time byte slice by decoding a string literal
This macro takes a list of key: value, pairs (the last comma is required). It takes the
key-value pairs specifying the encoding to use to decode the input (see new_encoding for the
possible key-value pairs), the input itself keyed by input, and the output keyed by name.
Examples
const OCTAL: &'static [u8] = &data_encoding_macro::decode_slice! {
    symbols: "01234567",
    padding: '=',
    input: "237610==",
};