nn::cx::ReadUncompRL Function

Syntax

#include <nn/cx.h>

s32 ReadUncompRL(
     UncompContextRL * context,
     const void * data,
     u32 len
);

Parameters

Name Description
in context Pointer to the decompression context.
in data Pointer to compressed data.
in len Data size.

Return Values

Returns the size of the remaining data to be decompressed. Returns a negative value if an error has occurred.

Description

Streaming decompression of run-length compressed data.

If an error occurs, the negative value defined by nn::cx::ErrorCode returns.

Revision History

2011/04/06
Added text about the value returned when an error occurs.
2010/11/10
Initial version.

CONFIDENTIAL