| 111 | |
| 112 | template <typename T> |
| 113 | inline uint32_t FlatBuffersVectorSize(const flatbuffers::Vector<T>* vec) { |
| 114 | return (vec == NULLPTR) ? 0 : vec->size(); |
| 115 | } |
| 116 | |
| 117 | inline std::string StringFromFlatbuffers(const flatbuffers::String* s) { |
| 118 | return (s == NULLPTR) ? "" : s->str(); |
no test coverage detected