MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / Mutate

Method Mutate

native/thirdpart/flatbuffers/flatbuffers.h:328–331  ·  view source on GitHub ↗

Change elements if you have a non-const pointer to this object. Scalars only. See reflection.h, and the documentation.

Source from the content-addressed store, hash-verified

326 // Change elements if you have a non-const pointer to this object.
327 // Scalars only. See reflection.h, and the documentation.
328 void Mutate(uoffset_t i, const T &val) {
329 FLATBUFFERS_ASSERT(i < size());
330 WriteScalar(data() + i, val);
331 }
332
333 // Change an element of a vector of tables (or strings).
334 // "val" points to the new table/string, as you can obtain from

Callers

nothing calls this directly

Calls 3

sizeFunction · 0.85
WriteScalarFunction · 0.85
dataFunction · 0.85

Tested by

no test coverage detected