class documentation
class FlashData(Converter[
Converter to split flash data into blocks if stored in Intel format
If binary_flag != $01, this converter is a no-op on bytes. Otherwise, this converter manipulates list[TIFlashBlock].
| Class Method | get |
Converts bytes -> bytes | list[TIFlashBlock] |
| Class Method | set |
Converts bytes | list[TIFlashBlock] -> bytes |
overrides
tivars.data.Converter.getConverts bytes -> bytes | list[TIFlashBlock]
| Parameters | |
data:bytes | The raw bytes to convert |
| instance | The instance which contains the data section |
| Returns | |
bytes | list[ | The blocks stored in data |
overrides
tivars.data.Converter.setConverts bytes | list[TIFlashBlock] -> bytes
If value is a list[TIFlashBlock], the instance binary_flag will be updated.
| Parameters | |
value:bytes | list[ | The value to convert |
| instance | The instance which contains the data section |
| **kwargs | Undocumented |
| Returns | |
bytes | The concatenation of the blocks in value |