macro_rules! CHECK {
($string:expr, $octet:expr) => { ... };
}
Expand description
A macro that checks if the current byte in the given string matches a specific octet.
§Parameters
string
: A reference to the string to be checked.
octet
: The octet to be matched.
§Return
bool
: Returns true
if the current byte in the string matches the given octet, otherwise false
.