• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Delta.h -- Delta converter
2 2013-01-18 : Igor Pavlov : Public domain */
3 
4 #ifndef __DELTA_H
5 #define __DELTA_H
6 
7 #include "7zTypes.h"
8 
9 EXTERN_C_BEGIN
10 
11 #define DELTA_STATE_SIZE 256
12 
13 void Delta_Init(Byte *state);
14 void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size);
15 void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size);
16 
17 EXTERN_C_END
18 
19 #endif
20