class documentation

Raw bytes container for TIFlashHeader

Any class with a distinct byte format requires its own Raw class to contain its data sections. Each data section must have a corresponding slot in Raw in order to use Converter classes.

The Raw class must also contain a bytes() method specifying the order and visibility of the data sections. Additional methods can also be included, but should be callable from the outer class.

Method bytes No summary
Property calc_data_size The length of the data stored in this header, measured in chars
Property checksum The checksum for this header, which may not exist
Property name_length The length of the name or basecode attached to this header
def bytes(self) -> bytes: (source)
Returns
bytesThe bytes contained in this header
@property
calc_data_size: bytes = (source)

The length of the data stored in this header, measured in chars

The checksum for this header, which may not exist

This is equal to the lower 2 bytes of the sum of all bytes in this header.

The length of the name or basecode attached to this header