# MI_InitUncompContextRL

## C Specification

      #include <nitro/mi/uncomp_stream.h>

        void MI_InitUncompContextRL( MIUncompContextRL *context,
                                       u8* dest,
                                       const MICompressionHeader* header );

## Arguments

`context` | Pointer to the context structure to be used for streaming uncompression of RL-compressed data.
`dest` | Specifies the destination buffer for uncompressed data.
`header` | Passes the previously obtained header of the compressed data and passes it as the argument.

## Return Values

None.

## Description

Initializes the context structure for streaming uncompression of RL-compressed data The 4-byte header portion of the compressed data must be loaded in advance. When the `MI_ReadUncompRL8` function or `MI_ReadUncompRL16` function is called using this context, the next set of data gets uncompressed in the region passed by the `dest` argument.

## See Also

`MI_UncompressRL*`, `MI_ReadUncompRL*`, `MIUncompContextRL`, `MICompressionHeader`, `MI_InitUncompContextLZ`, `MI_InitUncompContextHuffman`

## Revision History

11/30/2004 Initial version.

CONFIDENTIAL