CXGetUncompressedSize

C Specification

#include <revolution/cx.h>

u32 CXGetUncompressedSize( const void *srcp );

Arguments

srcp Source address where the compressed data is stored.

Return Values

Size after extraction.

Description

This function obtains the extracted size of compressed data after extraction. This function does not extract data but reads the extracted size that is stored in the beginning of the compressed data.

It is compatible with all compression formats supported by the CX library.

Internal Operation

Reads the header information in the first 4 bytes of data and gets the data size after extraction.

See Also

CXUncompressLZ, CXUncompressHuffman, CXUncompressRL
CXGetCompressionType

Revision History

07/06/2006 Initial version.


CONFIDENTIAL