REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: compress

compress  data

Compresses a string series and returns it.

Arguments:

data [binary! string!] - If string, it will be UTF8 encoded

See also:

decompress  

Description

Editor note: Describe the method that compress uses to compress data

print compress "now is the dawning"
#{789CCBCB2F57C82C5628C9485548492CCFCBCC4B07003EB606BA12000000}
string: form first system/words
print length? string
8329
small: compress string
print length? small
3947

As with all compressed files, keep an uncompressed copy of the original data file as a backup.


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin