Macro parse_prefix

Source
macro_rules! parse_prefix {
    ($bytes: expr) => { ... };
}
Expand description

A macro to parse a byte slice into a Pre type.

§Arguments

  • $bytes - The byte slice to parse.

§Panics

This macro will panic if the byte slice cannot be converted into a Pre type.