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

Function ClearOffsets

native/thirdpart/flatbuffers/flatbuffers.h:1524–1528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1522 uoffset_t EndStruct() { return GetSize(); }
1523
1524 void ClearOffsets() {
1525 buf_.scratch_pop(num_field_loc * sizeof(FieldLoc));
1526 num_field_loc = 0;
1527 max_voffset_ = 0;
1528 }
1529
1530 // Aligns such that when "len" bytes are written, an object can be written
1531 // after it with "alignment" without padding.

Callers 2

ClearFunction · 0.85
EndTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected