Changeset 13094 in project for wiki/lzma


Ignore:
Timestamp:
01/26/09 01:36:29 (12 years ago)
Author:
Ivan Raikov
Message:

Formatting fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/lzma

    r13076 r13094  
    33== Introduction
    44
    5 The 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]].
     5The lzma egg provides a simple wrapper around the C library lzmalib,
     6which in turn provides access to the excellent
     7[[http://en.wikipedia.org/wiki/LZMA|Lempel-Ziv-Markov chain
     8algorithm]].
    69
    7 Two functions are provided, which simply compress or decompress a buffer represented as a Chicken blob object.
     10Two functions are provided, which simply compress or decompress a
     11buffer represented as a Chicken blob object.
    812
    913== Examples
     
    3135<procedure>(lzma:compress BLOB) => BLOB</procedure>
    3236
    33 Given a blob, returns a blob that's hopefully smaller, and contains all the entropy of the original blob. Returns #f in the event of failure (typically, an out-of-memory condition).
     37Given a blob, returns a blob that's hopefully smaller, and contains
     38all the entropy of the original blob. Returns #f in the event of
     39failure (typically, an out-of-memory condition).
    3440
    3541<procedure>(lzma:decompress BLOB) => BLOB</procedure>
    3642
    37 Given a blob returned by {{lzma:compress}}, returns the original blob. Returns #f in the event of failure (typically, an out-of-memory condition or an invalid input).
     43Given a blob returned by {{lzma:compress}}, returns the original
     44blob. Returns #f in the event of failure (typically, an out-of-memory
     45condition or an invalid input).
    3846
    3947== Authors
     
    4553  Copyright (c) 2003-2009, Warhead.org.uk Ltd
    4654  All rights reserved.
    47   Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
    48   Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
    49   Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
    50   Neither the names of Warhead.org.uk Ltd, Snell Systems, nor Kitten Technologies, nor the names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission.
    51   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     55
     56  Redistribution and use in source and binary forms, with or without
     57  modification, are permitted provided that the following conditions
     58  are met:
     59
     60  Redistributions of source code must retain the above copyright
     61  notice, this list of conditions and the following disclaimer.
     62
     63  Redistributions in binary form must reproduce the above copyright
     64  notice, this list of conditions and the following disclaimer in the
     65  documentation and/or other materials provided with the distribution.
     66
     67  Neither the names of Warhead.org.uk Ltd, Snell Systems, nor Kitten
     68  Technologies, nor the names of their contributors may be used to
     69  endorse or promote products derived from this software without
     70  specific prior written permission.
     71
     72  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     73  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     74  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
     75  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
     76  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
     77  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
     78  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
     79  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
     80  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     81  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
     82  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     83  POSSIBILITY OF SUCH DAMAGE.
    5284
    5385== Requirements
    5486
    55 You'll need lzmalib installed. Source of this can be had from [[http://tokyocabinet.sourceforge.net/misc/lzmalib-0.0.1.tar.gz]].
     87You'll need lzmalib installed. Source of this can be had from
     88[[http://tokyocabinet.sourceforge.net/misc/lzmalib-0.0.1.tar.gz]].
    5689
    5790== Version History
Note: See TracChangeset for help on using the changeset viewer.