MCPcopy Create free account
hub / github.com/IENT/YUView / readNS

Method readNS

YUViewLib/src/parser/common/SubByteReaderLogging.cpp:252–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252uint64_t
253SubByteReaderLogging::readNS(const std::string &symbolName, uint64_t maxVal, const Options &options)
254{
255 try
256 {
257 auto [value, code] = SubByteReader::readNS(maxVal);
258 checkAndLog(this->currentTreeLevel, "ns(n)", symbolName, options, value, code);
259 return value;
260 }
261 catch (const std::exception &ex)
262 {
263 this->logExceptionAndThrowError(ex, "ns symbol " + symbolName);
264 }
265}
266
267int64_t
268SubByteReaderLogging::readSU(const std::string &symbolName, unsigned nrBits, const Options &options)

Callers

nothing calls this directly

Calls 2

checkAndLogFunction · 0.85

Tested by

no test coverage detected