ZLib.pas (muscle7.61) | : | ZLib.pas (muscle7.62) | ||
---|---|---|---|---|
skipping to change at line 151 | skipping to change at line 151 | |||
{ DecompressToUserBuf decompresses data, buffer to buffer, in one call. | { DecompressToUserBuf decompresses data, buffer to buffer, in one call. | |||
In: InBuf = ptr to compressed data | In: InBuf = ptr to compressed data | |||
InBytes = number of bytes in InBuf | InBytes = number of bytes in InBuf | |||
Out: OutBuf = ptr to user-allocated buffer to contain decompressed data | Out: OutBuf = ptr to user-allocated buffer to contain decompressed data | |||
BufSize = number of bytes in OutBuf } | BufSize = number of bytes in OutBuf } | |||
procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer; | procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer; | |||
const OutBuf: Pointer; BufSize: Integer); | const OutBuf: Pointer; BufSize: Integer); | |||
const | const | |||
zlib_version = '1.2.8'; | zlib_version = '1.2.11'; | |||
type | type | |||
EZlibError = class(Exception); | EZlibError = class(Exception); | |||
ECompressionError = class(EZlibError); | ECompressionError = class(EZlibError); | |||
EDecompressionError = class(EZlibError); | EDecompressionError = class(EZlibError); | |||
implementation | implementation | |||
uses ZLibConst; | uses ZLibConst; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |