Skip to main content

encode_destination_list

Function encode_destination_list 

Source
pub fn encode_destination_list(
    buf: &mut BytesMut,
    destinations: &[BACnetDestination],
) -> Result<(), Error>
Expand description

Encode a BACnetLIST of BACnetDestination: plain concatenation, no wrapper (Clause 12.21 Recipient_List). Every destination is checked before buf changes, so a refused list writes nothing.