splitting binary file into chunks

Dar Scott dsc at swcp.com
Fri Jul 18 18:03:00 EDT 2003


On Friday, July 18, 2003, at 04:41 PM, Kurt Kaufman wrote:

> I hope offset can work with binary data, otherwise I guess it will  
> have to be hex strings (my eyes glaze over at the thought).

I would be very surprised if it didn't.  Don't forget to numToChar() or  
otherwise make sure you have binary data that you are searching for.

And since this is midi, you can use charToNum() instead of  
binaryDecode().  Use bitAnd() to mask off bits.

Dar Scott

************************************************************************ 
****
   Dar Scott Consulting    http://www.swcp.com/dsc/    Programming  
Services
************************************************************************ 
****




More information about the use-livecode mailing list