plist

Last updated last month

Reads & Writes plist data.

Submodules

API Overview

API Documentation

Functions

Signature

`cp.plist.base64ToTable(base64Data) -> table

nil, string` </span>

Type

Function

Description

Converts base64 encoded Property List string into a Table.

Parameters

Returns

Signature

`cp.plist.binaryFileToTable(plistFileName) -> table

nil, string` </span>

Type

Function

Description

Converts the data from a Binary File into a LUA Table.

Parameters

Returns

Signature

`cp.plist.binaryFileToXML(plistFileName) -> string

nil, string` </span>

Type

Function

Description

Converts the data from a Binary plist File into XML as a string.

Parameters

Returns

Signature

`cp.plist.binaryToTable(binaryData) -> table

nil, string` </span>

Type

Function

Description

Converts Binary Data into a LUA Table.

Parameters

Returns

Signature

`cp.plist.fileToTable(plistFileName) -> table

nil, string` </span>

Type

Function

Description

Converts plist data from a binary or XML file into a LUA Table.

Parameters

Returns

Signature

cp.plist.isBinaryPlist(plistList) -> boolean

Type

Function

Description

Returns true if plistList is a binary plist file otherwise false

Parameters

Returns

Signature

`cp.plist.xmlFileToTable(plistFileName) -> table

nil, string` </span>

Type

Function

Description

Converts XML data from a file into a LUA Table.

Parameters

Returns

Signature

`cp.plist.xmlToTable(plistXml) -> table

nil, string` </span>

Type

Function

Description

Converts an XML plist string into a LUA Table.

Parameters

Returns