Decompress

angerangel edited this page Jan 3, 2013 · 1 revision

Table of Contents

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

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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.