Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

misc/compress.h File Reference

Compression routines. More...

#include <misc/config.h>
#include <string>

Include dependency graph for compress.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

bool compress (std::string &dest, const std::string &src)
 Compress memory block using LZF algorithm.

bool decompress (std::string &dest, const std::string &src)
 Decompress memory block using LZF algorithm or zLib.

bool decompress (std::string &dest, const void *src)
 Decompress memory block using LZF algorithm or zLib.


Detailed Description

Compression routines.

Todo:
Compression test program(s)

Definition in file compress.h.


Function Documentation

bool decompress std::string &    dest,
const void *    src
 

Decompress memory block using LZF algorithm or zLib.

Note:
Based on lzf: http://liblzf.plan9.de/
This algorithm is believed to be patent-free.
This version is less bullet-proof than via std::string

Definition at line 213 of file compress.cpp.

References byte, and uint32.

Referenced by GltTexture::init(), and GltFontUnicode::init().


Generated on Tue Nov 5 11:11:27 2002 for GLT by doxygen1.2.18