class documentation
Converter for the device field of a flash header
The device field contains at least one device type and type ID pair (xx, yy), stored as xxyy.
A flash header usually contains only has one pair in this field; the remainder of the field is null-padded.
The exception is a TILicense, which can hold licenses for multiple devices.
| Class Method | get |
Converts bytes -> list[tuple[DeviceType, int]] |
| Class Method | set |
Converts list[tuple[int | DeviceType, int]] -> bytes |
overrides
tivars.data.Converter.getConverts bytes -> list[tuple[DeviceType, int]]
| Parameters | |
data:bytes | The raw bytes to convert |
| **kwargs | Undocumented |
| Returns | |
list[ | The device tuples stored in data |