ddnet/src/engine/e_compression.h
2007-12-15 10:24:49 +00:00

12 lines
495 B
C

/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
/* variable int packing */
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 */
long zerobit_compress(const void *src, int size, void *dst);
long zerobit_decompress(const void *src, int size, void *dst);