Go to the documentation of this file.
4 #include <vapor/MyBase.h>
15 void Encode(
const unsigned char *input,
size_t n,
string &output);
16 void EncodeStreamBegin(
string &output);
17 void EncodeStreamNext(
const unsigned char *input,
size_t n,
string &output);
18 void EncodeStreamEnd(
string &output);
22 size_t GetEncodeSize(
size_t n);
23 int Decode(
const string &input,
unsigned char *output,
size_t *n);
26 unsigned char _eTable[64];
27 unsigned char _dTable[256];
30 unsigned char _inbuf[3];