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

Function VectorLength

Libs/flatbuffers/flatbuffers.h:476–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474// Convenient helper function to get the length of any vector, regardless
475// of whether it is null or not (the field is not set).
476template<typename T> static inline size_t VectorLength(const Vector<T> *v) {
477 return v ? v->size() : 0;
478}
479
480// This is used as a helper type for accessing arrays.
481template<typename T, uint16_t length> class Array {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected