aboutsummaryrefslogtreecommitdiff
path: root/C/Delta.h
diff options
context:
space:
mode:
authorIgor Pavlov <87184205+ip7z@users.noreply.github.com>2021-12-27 00:00:00 +0000
committerIgor Pavlov <87184205+ip7z@users.noreply.github.com>2022-03-18 15:35:13 +0500
commitf19f813537c7aea1c20749c914e756b54a9c3cf5 (patch)
tree816ba62ca7c0fa19f2eb46d9e9d6f7dd7c3a744d /C/Delta.h
parent98e06a519b63b81986abe76d28887f6984a7732b (diff)
download7zip-21.07.tar.gz
7zip-21.07.tar.bz2
7zip-21.07.zip
'21.07'21.07
Diffstat (limited to '')
-rw-r--r--C/Delta.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/C/Delta.h b/C/Delta.h
new file mode 100644
index 0000000..2fa54ad
--- /dev/null
+++ b/C/Delta.h
@@ -0,0 +1,19 @@
1/* Delta.h -- Delta converter
22013-01-18 : Igor Pavlov : Public domain */
3
4#ifndef __DELTA_H
5#define __DELTA_H
6
7#include "7zTypes.h"
8
9EXTERN_C_BEGIN
10
11#define DELTA_STATE_SIZE 256
12
13void Delta_Init(Byte *state);
14void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size);
15void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size);
16
17EXTERN_C_END
18
19#endif