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

Function decodeInt64

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

Source from the content-addressed store, hash-verified

296}
297
298MMKV_EXPORT int64_t decodeInt64(void *handle, const char *oKey, int64_t defaultValue) {
299 MMKV *kv = static_cast<MMKV *>(handle);
300 if (kv && oKey) {
301 auto key = string(oKey);
302 return kv->getInt64(key, defaultValue);
303 }
304 return defaultValue;
305}
306
307MMKV_EXPORT bool encodeDouble(void *handle, const char *oKey, double value) {
308 MMKV *kv = static_cast<MMKV *>(handle);

Callers

nothing calls this directly

Calls 1

getInt64Method · 0.45

Tested by

no test coverage detected