feat: Add SharedArray.getSize() (#2406)

* feat: Add `SharedArray.getSize()`

* Rename `count` to `size` on iOS

* `->` instead of `.`
This commit is contained in:
Marc Rousavy
2024-01-17 18:30:26 +01:00
committed by GitHub
parent 03ee0a2099
commit 2f21609e39
5 changed files with 20 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ NS_ASSUME_NONNULL_BEGIN
#endif
@property(nonatomic, readonly, nonnull) uint8_t* data;
@property(nonatomic, readonly) NSInteger count;
@property(nonatomic, readonly) NSInteger size;
@end