Module live_data_encoder

Source
Expand description

Functions in the module can be used to convert a Data variant into the respective live representation according to the VBus protocol specification.

Functionsยง

bytes_from_data
Stores the live representation of the Data in the provided byte slice.
length_from_data
Returns the number of bytes that the live representation of the Data needs.