Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
376 B

  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