MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / ConditionalPrintAsText

Function ConditionalPrintAsText

tests/gtest/gtest-all.cc:11520–11525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11518}
11519
11520void ConditionalPrintAsText(const char* str, size_t length, ostream* os) {
11521 if (!ContainsUnprintableControlCodes(str, length) &&
11522 IsValidUTF8(str, length)) {
11523 *os << "\n As Text: \"" << str << "\"";
11524 }
11525}
11526
11527} // anonymous namespace
11528

Callers 1

PrintStringToFunction · 0.85

Calls 2

IsValidUTF8Function · 0.85

Tested by

no test coverage detected