Colibri Core
|
#include "classencoder.h"
#include <fstream>
#include <cmath>
#include <iostream>
#include <map>
#include <unordered_map>
#include <climits>
#include "bz2stream.h"
Functions | |
unsigned int | inttobytes (unsigned char *buffer, unsigned int cls) |
unsigned char * | inttobytes_v1 (unsigned int cls, int &length) |
int | utf8_strlen (const string &str) |
unsigned char * | convert_v1_v2 (const unsigned char *olddata, unsigned int &newlength) |
unsigned char * | convert_v1_v2 (istream *in, bool ignoreeol, bool debug) |
Variables | |
const int | buildbuffersize = 65536 |
unsigned char | buildbuffer [buildbuffersize] |
unsigned char* convert_v1_v2 | ( | const unsigned char * | olddata, |
unsigned int & | newlength | ||
) |
unsigned char* convert_v1_v2 | ( | istream * | in, |
bool | ignoreeol, | ||
bool | debug | ||
) |
unsigned int inttobytes | ( | unsigned char * | buffer, |
unsigned int | cls | ||
) |
unsigned char* inttobytes_v1 | ( | unsigned int | cls, |
int & | length | ||
) |
int utf8_strlen | ( | const string & | str | ) |
unsigned char buildbuffer[buildbuffersize] |
const int buildbuffersize = 65536 |