nn::cx::UncompressGzip Function

Syntax

#include <nn/cx.h>

s32 UncompressGzip(
     void * pDst,
     size_t dstSize,
     const void * pSrc,
     size_t srcSize,
     void * pWork
);

Parameters

Name Description
out pDst Buffer where decompressed data is written.
in dstSize Size of the buffer pointed to by pDst.
in pSrc Buffer storing the compressed data.
in srcSize Size of the compressed data.
in pWork Work buffer. It requires a region equal to UNCOMPRESS_GZIP_WORK_SIZE bytes.

Return Values

When decompression succeeds, returns the data size after decompression. Returns an ErrorCode value if unsuccessful.

Description

Decompresses deflate compressed data in gzip format.

You can decompress data compressed with the CompressGzip function.

Revision History

2012/05/17
Initial version.

CONFIDENTIAL