forked from rebol/rebol
-
Notifications
You must be signed in to change notification settings - Fork 2
Decompress
angerangel edited this page Mar 15, 2013
·
1 revision
DECOMPRESS data /part length /gzip /limit size
Decompresses data. Result is binary.
DECOMPRESS is a native value.
- data -- Data to decompress (binary!)
-
/part
- length -- Length of compressed data (must match end marker)
- /gzip -- Use GZIP checksum
-
/limit
- size -- Error out if result is larger than this
#SOURCE
decompress: make native! [ [
"Decompresses data. Result is binary."
data [binary!] "Data to decompress"
/part length "Length of compressed data (must match end marker)"
/gzip "Use GZIP checksum"
/limit size "Error out if result is larger than this"
] ]