libSBML C++ API
5.20.4
|
Functions useful for various compression algorithms. More...
Functions | |
std::string | arrayToString (const double *array, size_t length) |
std::string | arrayToString (const unsigned char *array, size_t length) |
std::string | charIntsToString (const int *array, size_t length) |
int | compress_data (void *data, size_t length, int level, unsigned char *&result, int &outLength) |
void | copySampleArrays (double *&target, size_t &targetLength, double *source, size_t sourceLength) |
void | copySampleArrays (int *&target, size_t &targetLength, int *source, size_t sourceLength) |
void | copySampleArrays (int *&target, size_t &targetLength, unsigned char *source, size_t sourceLength) |
void | uncompress_data (void *data, size_t length, double *&result, size_t &outLength) |
void | uncompress_data (void *data, size_t length, int *&result, size_t &outLength) |
std::string | vectorToString (const std::vector< double > &vec) |
Functions useful for various compression algorithms.
std::string arrayToString | ( | const double * | array, |
size_t | length | ||
) |
std::string arrayToString | ( | const unsigned char * | array, |
size_t | length | ||
) |
std::string charIntsToString | ( | const int * | array, |
size_t | length | ||
) |
int compress_data | ( | void * | data, |
size_t | length, | ||
int | level, | ||
unsigned char *& | result, | ||
int & | outLength | ||
) |
void copySampleArrays | ( | double *& | target, |
size_t & | targetLength, | ||
double * | source, | ||
size_t | sourceLength | ||
) |
void copySampleArrays | ( | int *& | target, |
size_t & | targetLength, | ||
int * | source, | ||
size_t | sourceLength | ||
) |
void copySampleArrays | ( | int *& | target, |
size_t & | targetLength, | ||
unsigned char * | source, | ||
size_t | sourceLength | ||
) |
void uncompress_data | ( | void * | data, |
size_t | length, | ||
double *& | result, | ||
size_t & | outLength | ||
) |
void uncompress_data | ( | void * | data, |
size_t | length, | ||
int *& | result, | ||
size_t & | outLength | ||
) |
std::string vectorToString | ( | const std::vector< double > & | vec | ) |