Initializerpureswift.bluetooth 7.2.0Bluetooth
init(data:)
UInt256.swift:49init?<Data>(data: Data) where Data : DataContainer
init?<Data>(data: Data) where Data : DataContainer
s9Bluetooth7UInt256V4dataACSgx_tcAA13DataContainerRzlufc
What are these?4YIY3
import Bluetooth
Pure Swift Bluetooth Definitions.
@frozen struct UInt256
A 256 bit number stored according to host endianness.
protocol DataContainer : Hashable, RandomAccessCollection, Sendable where Self.Element == UInt8, Self.Index == Int
Data container type.
init(bytes: ByteValue = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0))
init(integerLiteral value: UInt64)
static var bitWidth: Int { get }
static var max: UInt256 { get }
The maximum representable value in this type.
static var min: UInt256 { get }
The minimum representable value in this type.
static var zero: UInt256 { get }
The value with all bits set to zero.
var byteSwapped: UInt256 { get }
var bytes: ByteValue
func hash(into hasher: inout Hasher)
typealias ByteValue = (UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8)