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

Function UnsafeConvertWireCompatProto

common/internal/value_conversion.h:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37namespace cel::test {
38
39ABSL_MUST_USE_RESULT
40inline bool UnsafeConvertWireCompatProto(
41 const google::protobuf::MessageLite& src, google::protobuf::MessageLite* absl_nonnull dest) {
42 absl::Cord serialized;
43 return src.SerializePartialToCord(&serialized) &&
44 dest->ParsePartialFromCord(serialized);
45}
46
47ABSL_MUST_USE_RESULT
48inline bool ConvertWireCompatProto(

Callers 1

ConvertWireCompatProtoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected