Initializerpureswift.bluetooth 7.2.0Bluetooth
init(bitPattern:)
Creates a new value with the given bit pattern.
init(bitPattern: UInt16)
Creates a new value with the given bit pattern.
init(bitPattern: UInt16)
import Bluetooth
Pure Swift Bluetooth Definitions.
@frozen struct SFloat
IEEE-11073 16-bit SFLOAT
@frozen struct UInt16
A 16-bit unsigned integer value type.
init()
Creates a value initialized to zero.
init(_ value: Float)
init(_ float: Float16)
init(from decoder: any Decoder) throws
var bitPattern: UInt16 { get }
The bit pattern of the value’s encoding.
var byteSwapped: SFloat { get }
A representation of this float with the byte order swapped.
var description: String { get }