Instance Propertynmggithub.kass 3.2.4MachCore
descriptors
The descriptors in the body.
var descriptors: [any Mach.MessageDescriptor]
The descriptors in the body.
var descriptors: [any Mach.MessageDescriptor]
s8MachCore0A0V11MessageBodyV11descriptorsSayAC0C10Descriptor_pGvp
What are these?4INJD
import MachCore
The core module for interacting with the Mach kernel.
struct MessageBody
A body of message descriptors.
struct Mach
The Mach kernel.
protocol MessageDescriptor
A descriptor for a message body.
init(descriptors: [any Mach.MessageDescriptor])
Creates a new message body with a list of descriptors.
init(fromPointer: UnsafePointer<mach_msg_body_t>)
Represents an existing body.
func serialize() -> UnsafePointer<mach_msg_body_t>
Allocates a buffer for the body, copies the count and descriptors into it, and returns a pointer to the buffer.