2020-01-30 05:47:11 +00:00
|
|
|
/* Delta.h -- Delta converter
|
2024-10-22 09:40:00 +00:00
|
|
|
2023-03-03 : Igor Pavlov : Public domain */
|
2020-01-30 05:47:11 +00:00
|
|
|
|
2024-10-22 09:40:00 +00:00
|
|
|
#ifndef ZIP7_INC_DELTA_H
|
|
|
|
#define ZIP7_INC_DELTA_H
|
2020-01-30 05:47:11 +00:00
|
|
|
|
|
|
|
#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
|