MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / ClearOffsets

Function ClearOffsets

Libs/flatbuffers/flatbuffers.h:1598–1602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1596 uoffset_t EndStruct() { return GetSize(); }
1597
1598 void ClearOffsets() {
1599 buf_.scratch_pop(num_field_loc * sizeof(FieldLoc));
1600 num_field_loc = 0;
1601 max_voffset_ = 0;
1602 }
1603
1604 // Aligns such that when "len" bytes are written, an object can be written
1605 // after it with "alignment" without padding.

Callers 2

ClearFunction · 0.85
EndTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected