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

Function DeserializeDoc

native/thirdpart/flatbuffers/idl_parser.cpp:122–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void DeserializeDoc(std::vector<std::string> &doc,
123 const Vector<Offset<String>> *documentation) {
124 if (documentation == nullptr) return;
125 for (uoffset_t index = 0; index < documentation->size(); index++)
126 doc.push_back(documentation->Get(index)->str());
127}
128
129void Parser::Message(const std::string &msg) {
130 if (!error_.empty()) error_ += "\n"; // log all warnings and errors

Callers 1

DeserializeMethod · 0.85

Calls 4

push_backMethod · 0.80
sizeMethod · 0.45
strMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected