nn::cx::ReadUncompZlib Function

Syntax

#include <nn/cx.h>

s32 ReadUncompZlib(
     UncompContextZlib * pContext,
     const void * pData,
     size_t dataSize
);

Parameters

Name Description
inout pContext Buffer where decompressed data is written.
in pData Buffer storing the compressed data.
in dataSize Size of the compressed data.

Return Values

Returns the data size written to the output buffer when decompression succeeds. Returns an ErrorCode value if unsuccessful.

Description

Streaming decompression of deflate compressed data in zlib format.

Note that the return value is different for other streaming decompression functions.

Revision History

2012/05/17
Initial version.

CONFIDENTIAL