MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / Decode

Method Decode

src/core/displayencoder.cpp:385–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383
384
385TSTRING cNonNarrowableCharEncoder::Decode(TSTRING::const_iterator* pcur, const TSTRING::const_iterator end) const
386{
387 // check preconditions
388 if ((*pcur) >= end || *(*pcur) != Identifier())
389 ThrowAndAssert(eBadDecoderInput());
390
391 return (cCharEncoderUtil::DecodeHexToChar(pcur, end));
392}
393
394
395TSTRING cNonPrintableCharEncoder::Decode(TSTRING::const_iterator* pcur, const TSTRING::const_iterator end) const

Callers

nothing calls this directly

Calls 4

IsSingleTCHARFunction · 0.85
beginMethod · 0.80
endMethod · 0.80
IdentifierMethod · 0.80

Tested by

no test coverage detected