|
scc 2025.09
SystemC components library
|
A utility class for parsing Intel Hex (IHEX) files. More...
#include <ihex_parser.h>
Public Types | |
| enum | { IHEX_DATA_SIZE = 255 } |
| The maximum size of data in a single IHEX record. More... | |
Static Public Member Functions | |
| static bool | parse (std::istream &, std::function< bool(uint64_t, uint64_t, const uint8_t *)>) |
| Parses an IHEX file from the given input stream and invokes a callback function for each data record found. | |
A utility class for parsing Intel Hex (IHEX) files.
The Intel Hex (IHEX) file format is a common format for representing binary data in a text file. It is widely used in embedded systems and programmable logic devices.
The ihex_parser class provides a method for parsing IHEX files and invoking a callback function for each data record found in the file.
Definition at line 39 of file ihex_parser.h.
| anonymous enum |
The maximum size of data in a single IHEX record.
Definition at line 43 of file ihex_parser.h.
|
static |
Parses an IHEX file from the given input stream and invokes a callback function for each data record found.
| input | The input stream containing the IHEX file. |
| callback | A function object that will be invoked for each data record found in the IHEX file. The callback function should return true to continue parsing, or false to stop parsing. |
Definition at line 41 of file ihex_parser.cpp.