Go to the source code of this file.
Functions | |
void | GzCompress (FILE *in, gzFile out) |
void | FileCompress (char *file, char *mode) |
void | StringCompress () |
In this file I use libz api's to compress file and string Here i make use of libz api which can write to compressed files. Also there is memory mapping techniqe used though mmap api of libc which can be used if buffer is large enogh.
Definition in file compress.c.
void StringCompress | ( | ) |
Compresses the string This function compresses the string entered by the user and shows the compressed string and then decompressess it Actually This function will show the content on the screen and demonstarte how strings can be compressed
Definition at line 174 of file compress.c.