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

Function writeValueToNB

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

Source from the content-addressed store, hash-verified

447}
448
449MMKV_EXPORT int32_t writeValueToNB(void *handle, char *oKey, void *pointer, uint32_t size) {
450 MMKV *kv = static_cast<MMKV *>(handle);
451 if (kv && oKey) {
452 string key(oKey);
453 return kv->writeValueToBuffer(key, pointer, size);
454 }
455 return -1;
456}
457
458MMKV_EXPORT uint64_t allKeys(void *handle, char ***keyArrayPtr, uint32_t **sizeArrayPtr, bool filterExpire) {
459 MMKV *kv = static_cast<MMKV *>(handle);

Callers

nothing calls this directly

Calls 1

writeValueToBufferMethod · 0.80

Tested by

no test coverage detected