withUnsafeBytes(_:)

iOS
8.0+
macOS
10.10+
tvOS
9.0+
watchOS
2.0+
func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R