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

Function writeValueToNB

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

writeValueToBufferMethod · 0.80

Tested by

no test coverage detected