# MI_InitUncompContextLZ

## C Specification

      #include <nitro/mi/uncomp_stream.h>

      void MI_InitUncompContextLZ( MIUncompContextLZ *context,
      u8* dest,
      const MICompressionHeader* header );

## Arguments

`context` | Pointer to the context structure to be used for streaming uncompression of LZ77-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 LZ77-compressed data The 4-byte header portion of the compressed data must be loaded in advance. When the `MI_ReadUncompLZ8` function or the `MI_ReadUncompLZ16` function is called using this context, the next set of data gets uncompressed in the region passed by the `dest` argument.

## See Also

`MI_UncompressLZ*`, `MI_ReadUncompLZ*`, `MIUncompContextLZ`, `MICompressionHeader`, `MI_InitUncompContextRL`, `MI_InitUncompContextHuffman`

## Revision History

11/30/2004 Initial version.

CONFIDENTIAL