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

Method EncodeRoundtrip

src/core/displayencoder.cpp:289–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287
288
289TSTRING cNonNarrowableCharEncoder::EncodeRoundtrip(TSTRING::const_iterator first, TSTRING::const_iterator last) const
290{
291 TSTRING str;
292
293 str += char_escape;
294 str += char_identifier;
295 str += cCharEncoderUtil::CharStringToHexValue(TSTRING(first, last));
296
297 return str;
298}
299
300
301TSTRING cNonPrintableCharEncoder::EncodeRoundtrip(TSTRING::const_iterator first, TSTRING::const_iterator last) const

Callers 1

EncodeMethod · 0.80

Calls 1

IsSingleTCHARFunction · 0.85

Tested by

no test coverage detected