How to feed DECOMPRESS with correctly compressed data - r3n/rebol-wiki GitHub Wiki
The DECOMPRESS function accepts normally compressed binary data from within Rebol itself, compressed with the COMPRESS function.
If you are feeding it data from an external compressor, write something about that.
It looks that Rebol can decompress any ZLIB data. It just requires to append known length of uncompressed data in binary little-endian representation.
zlib-decompress: func [
zlibData [binary!]
length [integer!] "known uncompressed zlib data length"
][
decompress head insert tail zlibData third make struct! [value [integer!]] reduce [length]
]