Instance Method (Default implementation)nmggithub.kass 3.2.4MachCore
toRawPayloadBuffer
Payload.swift:51func toRawPayloadBuffer() -> UnsafeRawBufferPointer
func toRawPayloadBuffer() -> UnsafeRawBufferPointer
s8MachCore0A0V21TrivialMessagePayloadPAAE05toRawE6BufferSWyF
What are these?3JAZT
import MachCore
The core module for interacting with the Mach kernel.
protocol TrivialMessagePayload : BitwiseCopyable, Mach.MessagePayload
A payload with a fixed length and trivial representation.
struct Mach
The Mach kernel.
@frozen struct UnsafeRawBufferPointer
A nonowning collection interface to the bytes in a region of memory.
func toRawPayloadBuffer() -> UnsafeRawBufferPointer
Converts the payload to a raw buffer.
static func fromRawPayloadBuffer(_ buffer: UnsafeRawBufferPointer) -> Self?