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

Function StartVector

Libs/flatbuffers/flatbuffers.h:1752–1757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1750 }
1751
1752 void StartVector(size_t len, size_t elemsize) {
1753 NotNested();
1754 nested = true;
1755 PreAlign<uoffset_t>(len * elemsize);
1756 PreAlign(len * elemsize, elemsize); // Just in case elemsize > uoffset_t.
1757 }
1758
1759 // Call this right before StartVector/CreateVector if you want to force the
1760 // alignment to be something different than what the element size would

Callers 6

CreateVectorFunction · 0.70
CreateVectorOfStringsFunction · 0.70
CreateVectorOfStructsFunction · 0.70
CreateVectorScalarCastFunction · 0.70
StartVectorOfStructsFunction · 0.70

Calls 2

NotNestedFunction · 0.85
PreAlignFunction · 0.85

Tested by

no test coverage detected