pub fn check_decoded_mac_len(
length: usize,
offset: usize,
what: &str,
) -> Result<(), Error>Expand description
Refuse, as a decode error at offset, a BACnetAddress mac-address whose
OCTET STRING holds more than BACnetAddress::MAX_MAC_LEN octets (#1156),
or any other OCTET STRING that names a MAC on a data link, such as the
You-Are device MAC (#1200). Decoders call it on the tag’s length, before
copying any octet.