| 444 | } |
| 445 | |
| 446 | MMKV_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 | |
| 455 | MMKV_EXPORT uint64_t allKeys(void *handle, char ***keyArrayPtr, uint32_t **sizeArrayPtr, bool filterExpire) { |
| 456 | MMKV *kv = static_cast<MMKV *>(handle); |
nothing calls this directly
no test coverage detected