Compress

angerangel edited this page Jan 2, 2013 · 1 revision
Clone this wiki locally

Table of Contents

USAGE

  COMPRESS data /part length /gzip

DESCRIPTION

Compresses a string series and returns it. COMPRESS is a native value.

ARGUMENTS

  • data -- If string, it will be UTF8 encoded (binary! string!)

REFINEMENTS

  • /part
    • length -- Length of data (elements)
  • /gzip -- Use GZIP checksum

SOURCE

compress: make native! [  [
    "Compresses a string series and returns it."
    data [binary! string!] "If string, it will be UTF8 encoded"
    /part length "Length of data (elements)"
    /gzip "Use GZIP checksum"
] ]