blob: 776cd455192740998e4b691d676b2153f2b73a0d [file] [log] [blame]
repo syncbaa38582013-07-26 17:53:31 -07001/* Delta.h -- Delta converter
22009-04-15 : Igor Pavlov : Public domain */
3
4#ifndef __DELTA_H
5#define __DELTA_H
6
7#include "Types.h"
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13#define DELTA_STATE_SIZE 256
14
15void Delta_Init(Byte *state);
16void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size);
17void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size);
18
19#ifdef __cplusplus
20}
21#endif
22
23#endif