| 236 | } |
| 237 | |
| 238 | uint64_t SubByteReaderLogging::readLEB128(const std::string &symbolName, const Options &options) |
| 239 | { |
| 240 | try |
| 241 | { |
| 242 | auto [value, code] = SubByteReader::readLEB128(); |
| 243 | checkAndLog(this->currentTreeLevel, "leb128(v)", symbolName, options, value, code); |
| 244 | return value; |
| 245 | } |
| 246 | catch (const std::exception &ex) |
| 247 | { |
| 248 | this->logExceptionAndThrowError(ex, "LEB128 symbol " + symbolName); |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | uint64_t |
| 253 | SubByteReaderLogging::readNS(const std::string &symbolName, uint64_t maxVal, const Options &options) |
nothing calls this directly
no test coverage detected