Skip to main content

encode_log_record

Function encode_log_record 

Source
pub fn encode_log_record(
    record: &BACnetLogRecord,
    buf: &mut BytesMut,
) -> Result<(), Error>
Expand description

Encode one Trend Log record.

Fails, leaving buf unchanged, for a bit string whose unused-bit count is above 7 (or nonzero with no data) or an any-value whose bytes aren’t complete tagged values.