lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lzip-bug] How to reset a LZ_Decoder


From: Jacob Rief
Subject: [Lzip-bug] How to reset a LZ_Decoder
Date: Fri, 18 Dec 2009 12:38:13 +0100

Hello Antonio,
is there any way to reset a LZ_Decoder? (I asked a similar question
about a week ago)
Assume the buffers and flags of an LZ_Decoder are filled with some
kind of data, but for some reason (for instance a stream corruption)
you want forward up to the next member and start decompression from
there. Thus instead of destroying and recreating a LZ_Decoder, a
useful function would be to somehow clear the buffers and reset the
internal flags to a state equivalent to a decoder just after creation,
say LZ_decompress_reset(struct LZ_Decoder* decoder);
Regards, Jacob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]