Decompress

OllyDbg Plugin API

Decompress

Unpacks data compressed by Compress. Returns length of unpacked data or 0 if some error was detected during decompression.

ulong Decompress(char *bufin,ulong nbufin,char *bufout,ulong nbufout);

Parameters:

bufin - pointer to compressed data;

nbufin - size of compressed data;

bufout - pointer to buffer that will receive unpacked data;

nbufout - size of bufout.

See also: Compress, Getoriginaldatasize