MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / FormatSingleQuotedBytesLiteral

Function FormatSingleQuotedBytesLiteral

internal/strings.cc:678–680  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

676}
677
678std::string FormatSingleQuotedBytesLiteral(absl::string_view str) {
679 return absl::StrCat("b'", EscapeBytes(str, false, '\''), "'");
680}
681
682std::string FormatDoubleQuotedBytesLiteral(absl::string_view str) {
683 return absl::StrCat("b\"", EscapeBytes(str, false, '"'), "\"");

Callers 1

TESTFunction · 0.85

Calls 1

EscapeBytesFunction · 0.85

Tested by 1

TESTFunction · 0.68