Subject: Re: qtopia
To: Jason Thorpe <thorpej@shagadelic.org>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: tech-kern
Date: 06/06/2006 23:44:07
Jason Thorpe wrote:
>
> 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

Cool. Thanks.

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191