pub fn decode_log_record(
data: &[u8],
offset: usize,
) -> Result<(BACnetLogRecord, usize), Error>Expand description
Decode one Trend Log record starting at offset, returning it and the
offset just past it.
Records sit back to back in a ReadRange item list, so the optional status flags are read only when the very next tag is the primitive context 2; anything else is left for the caller as the start of what follows.