MI_GetUncompressedSize


C Specification

#include <nitro/mi.h>

u32 MI_GetUncompressedSize( const void *srcp );

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.

This function is compatible with all compression formats supported by the NITRO-SDK.

Internal Operations

Reads the first 4 bytes of data and shifts down that value by 8 bits.

Arguments

srcp Source address where the compressed data is stored

Return Values

Size after extraction.

See Also

MI_UncompressLZ*, MI_UncompressHuffman, MI_UncompressRL*, MI_GetCompressionType

Revision History

06/18/2004 Initial Version