JASSv2
JASSv1
compress.h
1
/*
2
COMPRESS.H
3
----------
4
*/
5
#ifndef COMPRESS_H_
6
#define COMPRESS_H_
7
8
#include <stdint.h>
9
#define ANT_compressable_integer uint32_t
10
/*
11
class ANT_COMPRESS
12
------------------
13
*/
14
class
ANT_compress
15
{
16
public
:
17
ANT_compress
() {}
18
virtual
~
ANT_compress
() {}
19
20
/*
21
destination_length is in bytes. source_integers is in units of integers, returns the length in bytes
22
*/
23
virtual
long
long
compress(
unsigned
char
*destination,
long
long
destination_length, uint32_t *source,
long
long
source_integers) = 0;
24
virtual
void
decompress(uint32_t *destination,
unsigned
char
*source,
long
long
destination_integers) = 0;
25
} ;
26
27
#endif
/* COMPRESS_H_ */
28
ANT_compress
Definition:
compress.h:14
Generated by
1.8.13