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

Method CharStringToHexValue

src/core/displayencoder.cpp:475–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473}
474
475TSTRING cCharEncoderUtil::CharStringToHexValue(const TSTRING& str)
476{
477 TSTRING strOut;
478 TSTRING::const_iterator at;
479
480 for (at = str.begin(); at < str.end(); at++)
481 {
482 strOut += char_to_hex(*at);
483 }
484
485 return strOut;
486}
487
488
489TSTRING cCharEncoderUtil::HexValueToCharString(const TSTRING& str)

Callers

nothing calls this directly

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected