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

Function decodeDouble

Android/MMKV/mmkv/src/main/cpp/flutter-bridge.cpp:325–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getDoubleMethod · 0.45

Tested by

no test coverage detected