You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let result = unalignedData.withUnsafeBytes { $0.loadUnaligned(as: UInt32.self) }
27
+
```
28
+
Additionally, the counterpart `storeBytes(of:toByteOffset:as:)` had its
29
+
alignment restriction lifted, so that storing to arbitrary offsets of raw
30
+
memory can now succeed.
31
+
8
32
* References to `optional` methods on a protocol metatype, as well as references to dynamically looked up methods on the `AnyObject` metatype are now supported. These references always have the type of a function that accepts a single argument and returns an optional value of function type:
0 commit comments