1/* 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 24