# SVC_UnpackBits

## C Specification

      #include <nitro/os/common/systemCall.h>

      void SVC_UnpackBits(
               const void*			srcp,
               void*				destp,
               const MIUnpackBitsParam*	paramp );

## Description

This function decompresses data that is been pared back 0 fixed bits. Please match the destination address `dest` to the 4-byte boundary.

`paramp` is the `MIUnpackBitsParam` socket data address for MI. The `MIUnpackBitsParam` socket is made up of the following:

- Source data bytes (u16)
- 1 source data bit (u 16:8)
- 1 destination data / bit count (u16:8)
- Offset to add onto the source data (u32:31)
- Flag to indicate whether or not to add an offset to the 0 data. (u32:1)

## Arguments

`srcp` | Source address where compressed data is stored.
`destp` | Destination address for decompressed data.
`paramp` | MIUnpackBitsParam socket address.

## Return Values

None.

## See Also

`MI_UnpackBits, SVC_UncompressLZ* , SVC_UncompressHuffmanFromDevice, SVC_UncompressRL*`

## Revision History

07/22/2004 Initial Version