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

Function VectorLength

native/thirdpart/flatbuffers/flatbuffers.h:434–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432// Convenient helper function to get the length of any vector, regardless
433// of whether it is null or not (the field is not set).
434template<typename T> static inline size_t VectorLength(const Vector<T> *v) {
435 return v ? v->size() : 0;
436}
437
438// This is used as a helper type for accessing arrays.
439template<typename T, uint16_t length> class Array {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected