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

Function decodeDouble

flutter/mmkv_linux/linux/flutter-bridge.cpp:303–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303MMKV_EXPORT double decodeDouble(void *handle, const char *oKey, double defaultValue) {
304 MMKV *kv = static_cast<MMKV *>(handle);
305 if (kv && oKey) {
306 auto key = string(oKey);
307 return kv->getDouble(key, defaultValue);
308 }
309 return defaultValue;
310}
311
312MMKV_EXPORT bool encodeBytes(void *handle, const char *oKey, void *oValue, uint64_t length) {
313 MMKV *kv = static_cast<MMKV *>(handle);

Callers

nothing calls this directly

Calls 1

getDoubleMethod · 0.45

Tested by

no test coverage detected