Skip to content
angerangel edited this page Mar 15, 2013 · 1 revision

USAGE

   DECOMPRESS data /part length /gzip /limit size

DESCRIPTION

Decompresses data. Result is binary.

DECOMPRESS is a native value.

ARGUMENTS

  • data -- Data to decompress (binary!)

REFINEMENTS

  • /part
    • length -- Length of compressed data (must match end marker)
  • /gzip -- Use GZIP checksum
  • /limit
    • size -- Error out if result is larger than this

See also

compress

#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"
] ]
Clone this wiki locally