Initializerpureswift.bluetooth 7.2.0Bluetooth
init(from:)
init(from decoder: any Decoder) throws
init(from decoder: any Decoder) throws
import Bluetooth
Pure Swift Bluetooth Definitions.
@frozen struct SFloat
IEEE-11073 16-bit SFLOAT
protocol Decoder
A type that can decode values from a native format into in-memory representations.
init()
Creates a value initialized to zero.
init(_ value: Float)
init(_ float: Float16)
init(bitPattern: UInt16)
Creates a new value with the given bit pattern.
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 }