20 lines
264 B
C
20 lines
264 B
C
|
|
#ifndef huffman_h__
|
|
#define huffman_h__
|
|
|
|
#include "stdint.h"
|
|
|
|
// huffman编码的实现
|
|
|
|
int hm_encode(const uint8_t *in,const int in_len,uint8_t **out,int *out_len);
|
|
|
|
int hm_decode(const uint8_t* in, const int in_len, uint8_t** out, int* out_len);
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|