[OSC_dev] Parsing question
Jaime Magiera
jaime at sensoryresearch.net
Mon Dec 17 16:09:20 PST 2007
On Dec 17, 2007, at 4:03 PM, Martin Peach wrote:
> The types are all one-byte values packed together. The type list
> ends with at least one zero. After that the data is padded to 4-byte
> boundaries.
> So you look for the comma that starts the list of types (no comma =
> no types) and then count characters until the first zero. That gives
> you the number of data values. For each type you can prepare an
> appropriate container for the data and then fill it later when you
> scan the data values, which arrive in the exact same order as the
> types.
Ahhhh... now I see. Thank you very much. I'm currently moving my app
from Java Client to Cocoa. Once some of that is complete, I'll send
you folks a link to the beta so you can play around. Here's the old
version...
http://www.thoughtconduit.net
thanks again,
Jaime
More information about the OSC_dev
mailing list