Skip to main content

encode_device_object_property_reference_to_sink

Function encode_device_object_property_reference_to_sink 

Source
pub fn encode_device_object_property_reference_to_sink<S: EncodeSink + ?Sized>(
    sink: &mut S,
    reference: &BACnetDeviceObjectPropertyReference,
) -> Result<usize, SinkFull>
Expand description

Append a complete bare BACnetDeviceObjectPropertyReference in one write.

This preserves super::encode_device_object_property_reference’s bytes and inputs with at most twenty staging bytes. The optional device remains context 3 after the object, property and optional index. The reference storage contract covers all members; it does not make enclosing variable-length encoders atomic.