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.
1 parent 7ff06a7 commit df8485fCopy full SHA for df8485f
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