MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / GetChar

Method GetChar

Libraries/unrar/unpack.hpp:392–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390 size_t MaxWinMask;
391
392 uint GetChar()
393 {
394 if (Inp.InAddr>BitInput::MAX_SIZE-30)
395 {
396 UnpReadBuf();
397 if (Inp.InAddr>=BitInput::MAX_SIZE) // If nothing was read.
398 return 0;
399 }
400 return Inp.InBuf[Inp.InAddr++];
401 }
402};
403
404#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected