Commit 2befbbb
committed
fix: NSData.dataWithBytes is no longer bound by that name in Kotlin/Native 2.2.x. The replacement uses NSMutableData.appendBytes:length:, an instance method that has stable Kotlin/Native bindings across versions. NSMutableData is a subclass of NSData so the return type is compatible.
1 parent 7c5476d commit 2befbbb
1 file changed
Lines changed: 7 additions & 2 deletions
File tree
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
57 | | - | |
58 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
| |||
0 commit comments