Re: Deflating Binary Data

2011-02-25 Thread Nonsanity
I was actually modifying my deflate-ed data to give it a header that would make it compatible - hopefully. I didn't have high hopes that that would work, but I DID expect the decompress() function to NOT crash. I'd call that a bug. The function shouldn't crash the script if it gets bad data - It sh

Re: Deflating Binary Data

2011-02-25 Thread J. Landman Gay
On 2/25/11 9:15 AM, Nonsanity wrote: Well I'm having a conversation with myself here, but I can't seem to get the decompress() function to work. it keeps giving me an unhelpful error: Script compile error: Error description: Object Name: If I feed it binary data that came from compress(), it's

Re: Deflating Binary Data

2011-02-25 Thread Nonsanity
Well I'm having a conversation with myself here, but I can't seem to get the decompress() function to work. it keeps giving me an unhelpful error: Script compile error: Error description: Object Name: If I feed it binary data that came from compress(), it's fine and dandy. But send it anything el

Re: Deflating Binary Data

2011-02-24 Thread Nonsanity
Never thee mind... Google eventually pointed me to the correct command. Something the LiveCode Dictionary failed to do. decompress() ~ Chris Innanen ~ Nonsanity On Thu, Feb 24, 2011 at 3:54 PM, Nonsanity wrote: > I've got a binary file I'm parsing in LiveCode, and it contains sections > tha

Deflating Binary Data

2011-02-24 Thread Nonsanity
I've got a binary file I'm parsing in LiveCode, and it contains sections that are compressed with the deflate compressor. This is the same format revZip works with, except this isn't a group of files, it's just raw byes. Has anyone worked out a way previously to handle this in a multi-platform way