class documentation
class TIFlashBlock(Dock): (source)
Constructor: TIFlashBlock(init, address, block_type, data)
Parser for Intel blocks
The data section of a flash header with binary_flag == $01 is composed of blocks stored in the Intel format. Each block contains some segment of data stored at an address, which may be relative or absolute.
Class |
|
Raw bytes container for TIFlashBlock |
Method | __init__ |
Creates an empty flash data block |
Method | address |
The address of the block |
Method | block |
The type of the block |
Method | bytes |
No summary |
Method | data |
The data in the block |
Method | load |
Loads a byte string or bytestream into this block |
Instance Variable | raw |
Undocumented |
Property | checksum |
The checksum for the flash block |
Property | size |
The size of the block data in characters |
Inherited from Dock
:
Method | load |
Loads data into an instance by delegating to Loader methods based on the input's type |
Class Variable | loaders |
Undocumented |