ScummVM API documentation
Data compression library

Description

PKWARE data compression library (DCL).

PKWARE DCL ("explode") ("PKWARE data compression library") decompressor used in engines:

Functions

bool Common::decompressDCL (ReadStream *sourceStream, byte *dest, uint32 packedSize, uint32 unpackedSize)
 
SeekableReadStreamCommon::decompressDCL (SeekableReadStream *sourceStream, uint32 packedSize, uint32 unpackedSize)
 
SeekableReadStreamCommon::decompressDCL (SeekableReadStream *sourceStream)
 

Function Documentation

◆ decompressDCL() [1/3]

bool Common::decompressDCL ( ReadStream sourceStream,
byte *  dest,
uint32  packedSize,
uint32  unpackedSize 
)

Decompress a PKWARE DCL compressed stream.

Returns
Returns true if successful.

◆ decompressDCL() [2/3]

SeekableReadStream* Common::decompressDCL ( SeekableReadStream sourceStream,
uint32  packedSize,
uint32  unpackedSize 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Decompress a PKWARE DCL compressed stream.

Returns
Returns a valid pointer if successful or 0 otherwise.

◆ decompressDCL() [3/3]

SeekableReadStream* Common::decompressDCL ( SeekableReadStream sourceStream)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Decompress a PKWARE DCL compressed stream.

This method is meant for cases, where the unpacked size is not known.

Returns
Returns a valid pointer if successful or 0 otherwise.