Skip to main content

encode_object_property_reference_to_sink

Function encode_object_property_reference_to_sink 

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

Append a complete bare BACnetObjectPropertyReference in one sink write.

This retains super::encode_object_property_reference’s bytes and input handling with at most fifteen staging bytes. The reference storage contract applies to the whole sequence, including its optional index. An absent index and Some(0) remain distinct.