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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.