[PD-dev] gem vs. mrpeach strings?

Martin Peach martin.peach at sympatico.ca
Fri Nov 9 21:58:28 CET 2007


IOhannes m zmoelnig wrote:

>how will your [str] object handle an incoming gemlist?

If it's passed as a "string", a pointer to a block of bytes with a definite 
length, then it will process it the same way as any other block of bytes, 
perhaps not usefully.

>how will a gem-object using your blobs handle an incoming "string"?
>

It would need to verify that the incoming "string" data was of the right 
kind. Possibly the first few bytes would be some kind of selector. The data 
is in bytes just the same as a file or stdin stream, so its meaning and 
format is up to the user.
Martin






More information about the Pd-dev mailing list