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

Method EmptyString

native/thirdpart/flatbuffers/flexbuffers.h:248–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

StringFunction · 0.70

Tested by

no test coverage detected