libplist  2.7.0
API Documentation - Return to Homepage

◆ plist_from_bin()

PLIST_API plist_err_t plist_from_bin ( const char *  plist_bin,
uint32_t  length,
plist_t plist 
)

Import the plist_t structure from binary format.

Parameters
plist_bina pointer to the xml buffer.
lengthlength of the buffer to read.
plista pointer to the imported plist.
Returns
PLIST_ERR_SUCCESS on success or a plist_err_t on failure