libplist  2.7.0
API Documentation - Return to Homepage

◆ plist_new_data()

PLIST_API plist_t plist_new_data ( const char *  val,
uint64_t  length 
)

Create a new plist_t type PLIST_DATA.

Parameters
valthe binary buffer
lengththe length of the buffer
Returns
the created item
See also
plist_type