nn::cx::UncompressDeflate Function

Syntax

#include <nn/cx.h>

s32 UncompressDeflate(
     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_DEFLATE_WORK_SIZE bytes.

Return Values

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

Description

Performs deflate compression data expansion appended to the cx common header.

You can decompress data compressed with the CompressDeflate function.

Revision History

2012/05/17
Initial version.

CONFIDENTIAL