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

Method EmptyString

Libs/flatbuffers/flexbuffers.h:249–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247 std::string str() const { return std::string(c_str(), size()); }
248
249 static String EmptyString() {
250 static const char *empty_string = "";
251 return String(reinterpret_cast<const uint8_t *>(empty_string), 1, 0);
252 }
253 bool IsTheEmptyString() const { return data_ == EmptyString().data_; }
254};
255

Callers

nothing calls this directly

Calls 1

StringFunction · 0.70

Tested by

no test coverage detected