/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */

#ifdef __cplusplus
extern "C" {
#endif

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

#ifdef __cplusplus
}
#endif
