Skip to main content

decode_bacnet_property_value

Function decode_bacnet_property_value 

Source
pub fn decode_bacnet_property_value(
    data: &[u8],
    offset: usize,
) -> Result<(BACnetPropertyValue, usize), Error>
Expand description

Decode a property value at offset in data; returns it and the offset just past it.

The value may be followed by the end of the input, the next value’s context [0], or a context [3] that runs to the end.