Instance Methodpureswift.bluetooth 7.2.0Bluetooth
withUnsafeBytes(_:)
ByteValue.swift:34func withUnsafeBytes<R>(_ body: (UnsafeBufferPointer<UInt8>) throws -> R) rethrows -> R
func withUnsafeBytes<R>(_ body: (UnsafeBufferPointer<UInt8>) throws -> R) rethrows -> R
s9Bluetooth9ByteValuePAAE15withUnsafeBytesyqd__qd__SRys5UInt8VGKXEKlF
What are these?39IRD
import Bluetooth
Pure Swift Bluetooth Definitions.
protocol ByteValue : Equatable
Stores a primitive value.
@frozen struct UnsafeBufferPointer<Element> where Element : ~Copyable
A nonowning collection interface to a buffer of elements stored contiguously in memory.
@frozen struct UInt8
An 8-bit unsigned integer value type.
static var length: Int { get }
Size of value in bytes.
static func == (lhs: Self, rhs: Self) -> Bool