Module live_data_decoder

Source
Expand description

Functions in this module can be used to decode byte slices of data conforming to the VBus protocol specification into the respective Data variants.

Functionsยง

data_from_bytes
Convert slice of bytes to respective Data variant.
data_from_checked_bytes
Convert slice of bytes to respective Data variant.
length_from_bytes
Checks the provided slice of bytes whether it contains valid VBus live data.