SwiftstructHomeKitDaemonFoundation
struct HomeKitDaemonFoundation.HomeInstall.Frame
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Equatable
Members 8
- func
static decode(from: Foundation.Data) throws -> HomeKitDaemonFoundation.HomeInstall.Frame - var
static var headerSize: Int { get } - var
static var maxBodySize: Int { get } - field
let body: Foundation.Data - field
let frameType: HomeKitDaemonFoundation.HomeInstall.Frame.FrameType+0x0 - func
encode() throws -> Foundation.Data - init
init(frameType: HomeKitDaemonFoundation.HomeInstall.Frame.FrameType, body: Foundation.Data) -> HomeKitDaemonFoundation.HomeInstall.Frame - var
var wireSize: Int { get }
Header
struct HomeKitDaemonFoundation.HomeInstall.Frame { enum FrameType { case messageEncrypted case pairVerifyStart case pairVerifyNext case pairSetupNext var description: Swift.String { get } } enum DecodeError { case truncatedHeader(actualSize: Swift.Int) case truncatedBody(expectedSize: Swift.Int, actualSize: Swift.Int) case invalidFrameType(rawValue: Swift.UInt8) var description: Swift.String { get } } enum EncodeError { case bodyTooLarge(bodySize: Swift.Int) var description: Swift.String { get } } let frameType: HomeKitDaemonFoundation.HomeInstall.Frame.FrameType let body: Foundation.Data init(frameType: HomeKitDaemonFoundation.HomeInstall.Frame.FrameType, body: Foundation.Data) var wireSize: Swift.Int { get } func encode() throws -> Foundation.Data static var headerSize: Swift.Int { get } static var maxBodySize: Swift.Int { get } static func decode(from: Foundation.Data) throws -> HomeKitDaemonFoundation.HomeInstall.Frame }