Skip to main content

encode_time_value

Function encode_time_value 

Source
pub fn encode_time_value(
    buf: &mut BytesMut,
    time_value: &BACnetTimeValue,
) -> Result<(), Error>
Expand description

Encode one BACnetTimeValue: the application-tagged Time, then the application-tagged value.

Refuses a value that is not of a primitive datatype (a List or ApplicationData), which no time-value can carry.