<< Previous | Next >> | |
|
void CompressFile( ZFILE * input, ZFILE * output );
Description
- This function compresses the input file (uncompressed
ZFILE
, opened withOpenInputCompressFile()
) using the LZ compression algorithm. The result is put into a user-specified output file (an emptyZFILE
, opened withOpenOutputCompressedFile()
).
- The macro
OUTPUT_COMPRESSION_BUFFERS
must be defined with a positive non-zero value to useCompressFile()
or a compile-time error will occur. The default value ofOUTPUT_COMPRESSION_BUFFERS
is zero.Parameters
- input
- Input bit file
- output
- Output bit file
Return Value
- None
Library
- LZSS.LIB
See Also
- OpenInputCompressedFile, OpenOutputCompressedFile
Dynamic C Functions | << Previous | Next >> | rabbit.com |