/* There are two types of LZMA streams: -Streamwithendmark.Thatendmarkaddsabout6bytestocompressedsize.
- Stream without end mark. You must know exact uncompressed size to decompress such stream. */
typedef enum
{
LZMA_FINISH_ANY, /* finish at any point */
LZMA_FINISH_END /* block must be finished at the end */
} ELzmaFinishMode;
/* ELzmaFinishMode has meaning only if the decoding reaches output limit !!!
Youcanusemultiplecheckstotestdataintegrityafterfulldecompression: 1)CheckResultand"status"variable. 2)Checkthatoutput(destLen)=uncompressedSize,ifyouknowrealuncompressedSize. 3)Checkthatoutput(srcLen)=compressedSize,ifyouknowrealcompressedSize.
You must use correct finish mode in that case. */
typedef enum
{
LZMA_STATUS_NOT_SPECIFIED, /* use main error code instead */
LZMA_STATUS_FINISHED_WITH_MARK, /* stream was finished with end mark. */
LZMA_STATUS_NOT_FINISHED, /* stream was not finished */
LZMA_STATUS_NEEDS_MORE_INPUT, /* you must provide more input bytes */
LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK /* there is probability that stream was finished without end mark */
} ELzmaStatus;
/* ELzmaStatus is used only as output value for function call */
/* ---------- Interfaces ---------- */
/* There are 3 levels of interfaces: 1)DictionaryInterface 2)BufferInterface 3)OneCallInterface Youcanselectanyoftheseinterfaces,butdon'tmixfunctionsfromdifferent
groups for same object. */
/* There are two variants to allocate state for Dictionary Interface: 1)LzmaDec_Allocate/LzmaDec_Free 2)LzmaDec_AllocateProbs/LzmaDec_FreeProbs Youcanusevariant2,ifyousetdictionarybuffermanually. ForBufferInterfaceyoumustalwaysusevariant1.
/* You can use it, if you want to eliminate the overhead for data copying from dictionarytosomeotherexternalbuffer. YoumustworkwithCLzmaDecvariablesdirectlyinthisinterface.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.