mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-19 21:32:34 +03:00
13638068dc
git-svn-id: svn://kolibrios.org@5728 a494cfbc-eb01-0410-851d-a64ba20cac60
20 lines
395 B
C
20 lines
395 B
C
/* Delta.h -- Delta converter
|
|
2013-01-18 : Igor Pavlov : Public domain */
|
|
|
|
#ifndef __DELTA_H
|
|
#define __DELTA_H
|
|
|
|
#include "7zTypes.h"
|
|
|
|
EXTERN_C_BEGIN
|
|
|
|
#define DELTA_STATE_SIZE 256
|
|
|
|
void Delta_Init(Byte *state);
|
|
void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size);
|
|
void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size);
|
|
|
|
EXTERN_C_END
|
|
|
|
#endif
|