| [in] | inst | Implementation specific initialization context. Concrete implementation may cast it to predefined type. |
| [in] | input | Input data buffer, containing the compressed data. |
| [in] | input_size | Size of the input data buffer. |
| [in] | last_part | Last part of compressed data. This should be set to true if this is the final part of the input data. |
| [out] | offset | Input data offset pointer. This will be updated with the amount of bytes used from the input buffer. If this is not the last decompression call, then the next call to this function should be offset the input data buffer by this amount of bytes. |
| [out] | output | Output data buffer pointer to pointer. This will be set to the compression's output buffer when decompressed data is available to be used or copied. WARNING: For LZMA implementation, it is only valid if no external dictionary is used. For external dictionary variant (indicated by *inst parameter in init function), this will be set to NULL and user should read from ones own dictionary. |
| [out] | output_size | Size of data in output data buffer pointer (or in external dictionary). Data should only be read when the value in this pointer is greater than 0. |