Changeset 13069 in project


Ignore:
Timestamp:
01/24/09 11:58:32 (11 years ago)
Author:
Alaric Snell-Pym
Message:

Changes applied for alaric (217.205.201.45) through svnwiki:

Added (uses lzma) to examples, correct liblzma->lzmalib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/lzma

    r13064 r13069  
    33== Introduction
    44
    5 The lzma egg provides a simple wrapper around the C library liblzma, which in turn provides access to the excellent [[http://en.wikipedia.org/wiki/LZMA|Lempel-Ziv-Markov chain algorithm]].
     5The lzma egg provides a simple wrapper around the C library lzmalib, which in turn provides access to the excellent [[http://en.wikipedia.org/wiki/LZMA|Lempel-Ziv-Markov chain algorithm]].
    66
    77Two functions are provided, which simply compress or decompress a buffer represented as a Chicken blob object.
     
    1111<examples>
    1212<example>
     13<init>(use lzma)</init>
    1314<expr>(blob->string (lzma:decompress (lzma:compress (string->blob "Hello, World!"))))</expr>
    1415<result>"Hello, World!"</result>
    1516</example>
    1617<example>
     18<init>(use lzma)</init>
    1719<expr>(blob-size (lzma:compress (string->blob "Hello, World!")))</expr>
    1820<result>32</result>
    1921</example>
    2022<example>
     23<init>(use lzma)</init>
    2124<expr>(blob-size (lzma:compress (string->blob "Hello, World! Hello, World! Hello, World!")))</expr>
    2225<result>36</result>
     
    3235<procedure>(lzma:decompress BLOB) => BLOB</procedure>
    3336
    34 Given a blob returned by lzma:compress, returns the original blob.
     37Given a blob returned by {{lzma:compress}}, returns the original blob.
    3538
    3639== Authors
     
    5053== Requirements
    5154
    52 You'll need liblzma installed. Source of this can be had from [[http://tokyocabinet.sourceforge.net/misc/lzmalib-0.0.1.tar.gz]].
     55You'll need lzmalib installed. Source of this can be had from [[http://tokyocabinet.sourceforge.net/misc/lzmalib-0.0.1.tar.gz]].
    5356
    5457== Version History
Note: See TracChangeset for help on using the changeset viewer.