We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f7f657 + df8485f commit 8c0db3fCopy full SHA for 8c0db3f
stdlib/public/core/UnsafeRawBufferPointer.swift.gyb
@@ -431,6 +431,7 @@ extension Unsafe${Mutable}RawBufferPointer {
431
/// - Returns: A new instance of type `T`, copied from the buffer pointer's
432
/// memory.
433
#if $BitwiseCopyable
434
+ @inlinable
435
@_alwaysEmitIntoClient
436
public func loadUnaligned<T : _BitwiseCopyable>(
437
fromByteOffset offset: Int = 0,
@@ -442,6 +443,7 @@ extension Unsafe${Mutable}RawBufferPointer {
442
443
return baseAddress!.loadUnaligned(fromByteOffset: offset, as: T.self)
444
}
445
#endif
446
447
448
public func loadUnaligned<T>(
449
0 commit comments