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

Function encodeInt64

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

Source from the content-addressed store, hash-verified

278}
279
280MMKV_EXPORT bool encodeInt64(void *handle, const char *oKey, int64_t value) {
281 MMKV *kv = static_cast<MMKV *>(handle);
282 if (kv && oKey) {
283 auto key = string(oKey);
284 return kv->set((int64_t) value, key);
285 }
286 return false;
287}
288
289MMKV_EXPORT bool encodeInt64_v2(void *handle, const char *oKey, int64_t value, uint32_t expiration) {
290 MMKV *kv = static_cast<MMKV *>(handle);

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected