Skip to main content

decode_event_parameter

Function decode_event_parameter 

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

Decode one framed BACnetEventParameter CHOICE alternative at offset.

Returns the value and the offset past its encoding. Unmodeled (but valid) alternatives are preserved as BACnetEventParameter::Opaque; the omitted/deprecated/reserved tags 6, 7, 12, 19 are rejected.