pub fn decode_destination(
data: &[u8],
offset: usize,
) -> Result<(BACnetDestination, usize), Error>Expand description
Decode one BACnetDestination at offset; returns it and the offset
past the last member. Its recipient decodes through decode_recipient,
so an address MAC past BACnetAddress::MAX_MAC_LEN octets is refused
(#1124).