Subject: Re: qtopia
To: Garrett D'Amore <garrett_damore@tadpole.com>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 06/06/2006 21:19:55
On Jun 6, 2006, at 9:01 PM, Garrett D'Amore wrote:

> Is it easy to tell that a buffer contains a binary vs. an XML-ified
> plist programmatically?

prop_dictionary_internalize() will be able to tell.  XML plists have  
<plist verison="1.0">, and binary bplists have "bplist00" at the  
beginning of them.

-- thorpej