| 194 | } |
| 195 | |
| 196 | bool SubByteReaderLogging::readFlag(const std::string &symbolName, const Options &options) |
| 197 | { |
| 198 | try |
| 199 | { |
| 200 | auto [value, code] = SubByteReader::readBits(1); |
| 201 | checkAndLog(this->currentTreeLevel, "u(1)", symbolName, options, value, code); |
| 202 | return (value != 0); |
| 203 | } |
| 204 | catch (const std::exception &ex) |
| 205 | { |
| 206 | this->logExceptionAndThrowError(ex, "flag " + symbolName); |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | uint64_t SubByteReaderLogging::readUEV(const std::string &symbolName, const Options &options) |
| 211 | { |
no test coverage detected