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

Method SetStringValueFromBytes

internal/json.cc:986–993  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

984 const absl::Cord& value) const = 0;
985
986 void SetStringValueFromBytes(google::protobuf::MessageLite* absl_nonnull message,
987 absl::string_view value) const {
988 if (value.empty()) {
989 SetStringValue(message, value);
990 return;
991 }
992 SetStringValue(message, absl::Base64Escape(value));
993 }
994
995 void SetStringValueFromBytes(google::protobuf::MessageLite* absl_nonnull message,
996 const absl::Cord& value) const {

Callers

nothing calls this directly

Calls 2

TryFlatMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected