| 447 | } |
| 448 | |
| 449 | MMKV_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 | |
| 458 | MMKV_EXPORT uint64_t allKeys(void *handle, char ***keyArrayPtr, uint32_t **sizeArrayPtr, bool filterExpire) { |
| 459 | MMKV *kv = static_cast<MMKV *>(handle); |
nothing calls this directly
no test coverage detected