Delta.h 395 B

12345678910111213141516171819
  1. /* Delta.h -- Delta converter
  2. 2013-01-18 : Igor Pavlov : Public domain */
  3. #ifndef __DELTA_H
  4. #define __DELTA_H
  5. #include "7zTypes.h"
  6. EXTERN_C_BEGIN
  7. #define DELTA_STATE_SIZE 256
  8. void Delta_Init(Byte *state);
  9. void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size);
  10. void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size);
  11. EXTERN_C_END
  12. #endif