1370b324cSopenharmony_ci/* Delta.h -- Delta converter 2370b324cSopenharmony_ci2023-03-03 : Igor Pavlov : Public domain */ 3370b324cSopenharmony_ci 4370b324cSopenharmony_ci#ifndef ZIP7_INC_DELTA_H 5370b324cSopenharmony_ci#define ZIP7_INC_DELTA_H 6370b324cSopenharmony_ci 7370b324cSopenharmony_ci#include "7zTypes.h" 8370b324cSopenharmony_ci 9370b324cSopenharmony_ciEXTERN_C_BEGIN 10370b324cSopenharmony_ci 11370b324cSopenharmony_ci#define DELTA_STATE_SIZE 256 12370b324cSopenharmony_ci 13370b324cSopenharmony_civoid Delta_Init(Byte *state); 14370b324cSopenharmony_civoid Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size); 15370b324cSopenharmony_civoid Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size); 16370b324cSopenharmony_ci 17370b324cSopenharmony_ciEXTERN_C_END 18370b324cSopenharmony_ci 19370b324cSopenharmony_ci#endif 20