#include <revolution/cx.h>CXCompressionHeader CXGetCompressionHeader( const void* srcp );| srcp | Source address where the compressed data is stored. |
Gets the header information of the compressed data.
This function reads the first 4 bytes of the compressed data and gets the header information of the compressed data.
It is compatible with all compression formats supported by the CX library.
The CXCompressionHeader structure of the returned value is used to initialize context for decompression by the CXInitUncompContextRL, CXInitUncompContextLZ, and CXInitUncompContextHuffman functions.
Reads the header in the first 4 bytes of data, converts the data's endian method and returns the correct header information.
CXUncompressLZ, CXUncompressHuffman, CXUncompressRL, CXUnfilterDiff
CXGetUncompressedSize
07/06/2006 Initial version.
CONFIDENTIAL