Class PlistBody
- Namespace
- AppleTvControlLibrary.Mrp.AirPlay.Http
- Assembly
- AppleTvControlLibrary.Mrp.dll
Encode/decode binary property list request/response bodies used by the AirPlay 2 control
connection (RTSP SETUP payloads etc.).
public static class PlistBody
- Inheritance
-
PlistBody
- Inherited Members
Methods
Decode(byte[])
Decode a binary property list body into an NSDictionary.
public static NSDictionary Decode(byte[] body)
Parameters
bodybyte[]The raw binary plist bytes.
Returns
- NSDictionary
The decoded dictionary.
Encode(NSDictionary)
Encode an NSDictionary as a binary property list.
public static byte[] Encode(NSDictionary data)
Parameters
dataNSDictionaryThe dictionary to encode.
Returns
- byte[]
The encoded binary plist bytes.