| 124 | } |
| 125 | |
| 126 | ValueMap dictionaryWithDataOfFile(const char* filedata, int filesize) |
| 127 | { |
| 128 | _resultType = SAX_RESULT_DICT; |
| 129 | SAXParser parser; |
| 130 | |
| 131 | AXASSERT(parser.init("UTF-8"), "The file format isn't UTF-8"); |
| 132 | parser.setDelegator(this); |
| 133 | |
| 134 | parser.parse(filedata, filesize); |
| 135 | return _rootDict; |
| 136 | } |
| 137 | |
| 138 | ValueVector arrayWithContentsOfFile(std::string_view fileName) |
| 139 | { |
no test coverage detected