libplist  2.2.0
API Documentation - Return to Homepage

◆ plist_from_memory()

void plist_from_memory ( const char *  plist_data,
uint32_t  length,
plist_t plist 
)

Import the plist_t structure from memory data.

This method will look at the first bytes of plist_data to determine if plist_data contains a binary or XML plist.

Parameters
plist_dataa pointer to the memory buffer containing plist data.
lengthlength of the buffer to read.
plista pointer to the imported plist.