anlogicBitParser: allows to reverse (or not) bytes

This commit is contained in:
Gwenhael Goavec-Merou
2020-08-24 08:53:30 +02:00
parent 31bc9cf988
commit bfd7e9b6ed
2 changed files with 11 additions and 4 deletions
+3 -1
View File
@@ -30,13 +30,15 @@
*/
class AnlogicBitParser: public ConfigBitstreamParser {
public:
AnlogicBitParser(const std::string &filename, bool verbose = false);
AnlogicBitParser(const std::string &filename, bool reverseOrder,
bool verbose = false);
~AnlogicBitParser();
int parse() override;
void displayHeader();
private:
int parseHeader();
bool _reverseOrder;
};
#endif // SRC_ANLOGICBITPARSER_HPP_