Expand description
Functions in the module can be used to convert a Data
variant into the respective recorded
representation according to the VBus Recording File Format.
Functions§
- bytes_
from_ channel - Stores a “VBus channel marker” record in the provided byte slice.
- bytes_
from_ data - Stores the recorded representation of the Data in the provided byte slice.
- bytes_
from_ record - Stores the record header in the provided byte slice.
- bytes_
from_ timestamp - Stores the timestamp in the provided byte slice.
- length_
from_ data - Returns the number of bytes that the recorded representation of the Data needs.