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

Method readLEB128

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

Source from the content-addressed store, hash-verified

236}
237
238uint64_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
252uint64_t
253SubByteReaderLogging::readNS(const std::string &symbolName, uint64_t maxVal, const Options &options)

Callers

nothing calls this directly

Calls 2

checkAndLogFunction · 0.85

Tested by

no test coverage detected