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

Function writeValueToNB

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

Source from the content-addressed store, hash-verified

425}
426
427MMKV_EXPORT int32_t writeValueToNB(void *handle, char *oKey, void *pointer, uint32_t size) {
428 MMKV *kv = static_cast<MMKV *>(handle);
429 if (kv && oKey) {
430 string key(oKey);
431 return kv->writeValueToBuffer(key, pointer, size);
432 }
433 return -1;
434}
435
436MMKV_EXPORT uint64_t allKeys(void *handle, char ***keyArrayPtr, uint32_t **sizeArrayPtr, bool filterExpire) {
437 MMKV *kv = static_cast<MMKV *>(handle);

Callers

nothing calls this directly

Calls 1

writeValueToBufferMethod · 0.80

Tested by

no test coverage detected