ddnet/src/engine/e_compression.h

12 lines
495 B
C
Raw Normal View History

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
/* 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);
/* 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);