Skip to content

feat: Add .length (key length vs byteSize)#998

Merged
mrousavy merged 1 commit intomainfrom
feat/size
Feb 11, 2026
Merged

feat: Add .length (key length vs byteSize)#998
mrousavy merged 1 commit intomainfrom
feat/size

Conversation

@mrousavy
Copy link
Owner

@mrousavy mrousavy commented Feb 11, 2026

  • Adds a .length property that specifies the number of key/value pairs in the MMKV storage instance
  • Adds a .byteSize property that specifies the number of bytes stored in the MMKV storage instance
  • Deprecates .size in favor of .byteSize, and to avoid confusion with .length

@mrousavy mrousavy merged commit e479e29 into main Feb 11, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant