| 265 | } |
| 266 | |
| 267 | int64_t |
| 268 | SubByteReaderLogging::readSU(const std::string &symbolName, unsigned nrBits, const Options &options) |
| 269 | { |
| 270 | try |
| 271 | { |
| 272 | auto [value, code] = SubByteReader::readSU(nrBits); |
| 273 | checkAndLog(this->currentTreeLevel, "su(n)", symbolName, options, value, code); |
| 274 | return value; |
| 275 | } |
| 276 | catch (const std::exception &ex) |
| 277 | { |
| 278 | this->logExceptionAndThrowError(ex, "su symbol " + symbolName); |
| 279 | } |
| 280 | } |
| 281 | |
| 282 | ByteVector SubByteReaderLogging::readBytes(const std::string &symbolName, |
| 283 | size_t nrBytes, |
nothing calls this directly
no test coverage detected