#include <GammaCompress.hpp>
Inheritance diagram for GammaCompress:

Public Methods | |
| GammaCompress () | |
| void | compress (ostream &os,int n,int *a) |
| int | decompress (istream &is,int *a) |
| int | read (istream &is) |
| const char* | type () |
GammaCompress
Implementation of the "gamma" method, as described in "Managing Gigabytes" by Witten et al., Chapter 3. (The method is originally attributed to P. Elias.)
|
|
|
|
|
Reimplemented from Compress. |
|
|
Reimplemented from Compress. |
|
|
Reimplemented from Compress. |
|
|
Reimplemented from Compress. |
1.2.4 written by Dimitri van Heesch,
© 1997-2000