converts a string of '0' and '1' into a std::vector
| 124 | |
| 125 | // converts a string of '0' and '1' into a std::vector<uint8_t> |
| 126 | static std::vector<uint8_t> DFTStringToVector(const std::string &DFTString) { |
| 127 | std::vector<uint8_t> DFT(DFTString.size()); |
| 128 | DFTStringAppendToVector(&DFT, DFTString); |
| 129 | return DFT; |
| 130 | } |
| 131 | |
| 132 | static bool ParseError(const char *Err, const std::string &Line) { |
| 133 | Printf("DataFlowTrace: parse error: %s: Line: %s\n", Err, Line.c_str()); |
no test coverage detected