MCPcopy Create free account
hub / github.com/Tencent/MMKV / decodeDouble

Function decodeDouble

OpenHarmony/MMKV/src/main/cpp/flutter-bridge.cpp:322–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322MMKV_EXPORT double decodeDouble(void *handle, const char *oKey, double defaultValue) {
323 MMKV *kv = static_cast<MMKV *>(handle);
324 if (kv && oKey) {
325 auto key = string(oKey);
326 return kv->getDouble(key, defaultValue);
327 }
328 return defaultValue;
329}
330
331MMKV_EXPORT bool encodeBytes(void *handle, const char *oKey, void *oValue, uint64_t length) {
332 MMKV *kv = static_cast<MMKV *>(handle);

Callers

nothing calls this directly

Calls 1

getDoubleMethod · 0.45

Tested by

no test coverage detected