1Compress.compressString(3kaya)Kaya module referencCeompress.compressString(3kaya)
2
3
4

NAME

6       Compress::compressString - Compress a string.
7

SYNOPSIS

9       String compressString( String instr )
10

ARGUMENTS

12       instr The String to compress
13

DESCRIPTION

15       Compress  a  string using zlib and returned a base64-encoded compressed
16       string. If  compression  fails,  a  Compress.CompressionFailed  (3kaya)
17       Exception  will  be thrown. Note that because base64-encoding increases
18       the space required, if the compression factor is small, the  compressed
19       string  may  be  larger  than the original! In this case converting the
20       string to Binary form and using compressBinary may be better.
21

AUTHORS

23       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
24       (kaya@kayalang.org). For further information see http://kayalang.org/
25

LICENSE

27       The  Kaya  standard  library  is free software; you can redistribute it
28       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
29       License  (version  2.1  or  any later version) as published by the Free
30       Software Foundation.
31
33       Compress.compressBinary (3kaya)
34       Compress.uncompressString (3kaya)
35
36
37
38Kaya                             December 2010  Compress.compressString(3kaya)
Impressum