Contents

OSSerialization

A container for one or more objects, serialized in a binary data format that is suitable for messaging.

Declaration

class OSSerialization;

Overview

OSSerialization provides methods to serialize an object to binary data suitable for messaging. Only certain DriverKit classes may be serialized: OSData, OSString, OSNumber, OSBoolean, OSArray, OSDictionary.

OSSerialization provides no concurrency protection; it’s up to the usage context to provide any protection necessary.

Topics

Creating a Serialization Object

Getting the Serialized Content

Type Methods

See Also

Registry data types