27 #ifndef COMMON_PACKICE_H 28 #define COMMON_PACKICE_H 30 #include "common/array.h" 31 #include "common/scummsys.h" 36 kPackIceVersion110 = 0,
37 kPackIceVersion200 = 1,
38 kPackIceVersion231 = 2
44 PackIceVersion version;
47 bool detectPackIceHeader(
const byte *data, uint32 size,
bool exactSizeKnown);
48 bool parsePackIceHeader(
const byte *data, uint32 size,
bool exactSizeKnown,
PackIceHeader &header);
49 const char *getPackIceName(PackIceVersion version);
51 bool decompressPackIce(
const byte *data, uint32 size,
Common::Array<byte> &out,
bool exactSizeKnown =
true);
52 bool decompressPackIceStream(
const byte *data, uint32 size, uint32 streamStart, uint32 streamEnd,
Definition: algorithm.h:29