nn::cx::GetUncompressedSize Function

Syntax

#include <nn/cx.h>

u32 GetUncompressedSize(
     const void * pData
);

Parameters

Name Description
in pData Pointer to the first eight bytes of data in the compressed data.

Return Values

Returns the size of the decompressed data.

Description

Gets the data size after decompression.

The following formats are not handled by this function.
- Backward LZ compressed data (BLZ)
- deflate compressed data in gzip format
- deflate compressed data in zlib format

You can get the data size after decompression for deflate compressed data in the gzip format with the GetGzipUncompressedSize function.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL