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

Function decodeInt64

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getInt64Method · 0.45

Tested by

no test coverage detected