2007-11-25 19:42:40 +00:00
|
|
|
/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
|
2007-07-13 13:40:04 +00:00
|
|
|
|
2007-08-22 07:52:33 +00:00
|
|
|
/* variable int packing */
|
2007-07-13 13:40:04 +00:00
|
|
|
unsigned char *vint_pack(unsigned char *dst, int i);
|
|
|
|
const unsigned char *vint_unpack(const unsigned char *src, int *inout);
|
|
|
|
long intpack_compress(const void *src, int size, void *dst);
|
|
|
|
long intpack_decompress(const void *src, int size, void *dst);
|
|
|
|
|
2007-08-22 07:52:33 +00:00
|
|
|
/* zerobit packing */
|
2007-07-13 13:40:04 +00:00
|
|
|
long zerobit_compress(const void *src, int size, void *dst);
|
|
|
|
long zerobit_decompress(const void *src, int size, void *dst);
|