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

Method SetPointer

native/thirdpart/flatbuffers/flatbuffers.h:2615–2621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2613 }
2614
2615 bool SetPointer(voffset_t field, const uint8_t *val) {
2616 auto field_offset = GetOptionalFieldOffset(field);
2617 if (!field_offset) return false;
2618 WriteScalar(data_ + field_offset,
2619 static_cast<uoffset_t>(val - (data_ + field_offset)));
2620 return true;
2621 }
2622
2623 uint8_t *GetAddressOf(voffset_t field) {
2624 auto field_offset = GetOptionalFieldOffset(field);

Callers 1

SetFieldTFunction · 0.80

Calls 1

WriteScalarFunction · 0.85

Tested by

no test coverage detected