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

Method AssignBytes

eval/public/structs/field_access_impl.cc:427–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425 }
426
427 bool AssignBytes(const CelValue& cel_value) const {
428 CelValue::BytesHolder value;
429 if (!cel_value.GetValue(&value)) {
430 return false;
431 }
432 static_cast<const Derived*>(this)->SetBytes(value);
433 return true;
434 }
435
436 bool AssignEnum(const CelValue& cel_value) const {
437 int64_t value;

Callers

nothing calls this directly

Calls 2

GetValueMethod · 0.45
SetBytesMethod · 0.45

Tested by

no test coverage detected