Reputation: 1
I am looking for decompressing data according to the deflate compression mechanism [rfc1951].
The linux command for this mechanism is: zlib-flate -uncompress
I try the Red command decompress with refinements deflate , but it crashes or the result is wrong (it looks like a crash or a memory dump).
Is there a sample to use decompress/deflate ?
>> type? b1
== binary!
>> length? b1
== 326
>> decompress/deflate b1 326
*** Runtime Error 16: invalid virtual address
*** at: 080AB560h
Upvotes: 0
Views: 1723
Reputation: 2193
Unfortunately, at the time of writing, Red's implementation of DEFLATE is buggy and likely won't be able to decompress data that it itself did not compress.
If you still experience this crash with the latest Linux build, please file a ticket for it.
Upvotes: 0