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

Function GetAnyVectorElemAddressOf

Libs/flatbuffers/reflection.h:265–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263// raw pointer access with scalars).
264template<typename T>
265T *GetAnyVectorElemAddressOf(const VectorOfAny *vec, size_t i,
266 size_t elem_size) {
267 return reinterpret_cast<T *>(vec->Data() + elem_size * i);
268}
269
270// Similarly, for elements of tables.
271template<typename T>

Callers

nothing calls this directly

Calls 1

DataMethod · 0.45

Tested by

no test coverage detected