REBOL Document

Compress - Function Summary


Summary:

Compresses a string series and returns it.

Usage:

compress data

Arguments:

data - Data to compress (must be: any-string)

Description:

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


    print compress "now is the dawning"
    #{789CCBCB2F57C82C5628C9485548492CCFCBCC4B07003EB606BA12000000}


    string: form first system/words
    print length? string
    20087


    small: compress string
    print length? small
    8843

Related:

decompress - Decompresses a binary series back to a string.


<Back | Index | Next>

Copyright 2004 REBOL Technologies