mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +00:00
4497d7fdaa
As a bonus, add support for XZ-compressed files in ZIP
19 lines
390 B
C
19 lines
390 B
C
/* Delta.h -- Delta converter
|
|
2023-03-03 : Igor Pavlov : Public domain */
|
|
|
|
#ifndef ZIP7_INC_DELTA_H
|
|
#define ZIP7_INC_DELTA_H
|
|
|
|
#include "7zTypes.h"
|
|
|
|
EXTERN_C_BEGIN
|
|
|
|
#define DELTA_STATE_SIZE 256
|
|
|
|
void Delta_Init(Byte *state);
|
|
void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size);
|
|
void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size);
|
|
|
|
EXTERN_C_END
|
|
|
|
#endif
|