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

Function decodeInt64

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

Source from the content-addressed store, hash-verified

274}
275
276MMKV_EXPORT int64_t decodeInt64(void *handle, const char *oKey, int64_t defaultValue) {
277 MMKV *kv = static_cast<MMKV *>(handle);
278 if (kv && oKey) {
279 auto key = string(oKey);
280 return kv->getInt64(key, defaultValue);
281 }
282 return defaultValue;
283}
284
285MMKV_EXPORT bool encodeDouble(void *handle, const char *oKey, double value) {
286 MMKV *kv = static_cast<MMKV *>(handle);

Callers

nothing calls this directly

Calls 1

getInt64Method · 0.45

Tested by

no test coverage detected