| 425 | } |
| 426 | |
| 427 | MMKV_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 | |
| 436 | MMKV_EXPORT uint64_t allKeys(void *handle, char ***keyArrayPtr, uint32_t **sizeArrayPtr, bool filterExpire) { |
| 437 | MMKV *kv = static_cast<MMKV *>(handle); |
nothing calls this directly
no test coverage detected