spot
0.9.1
|
#include <vector>
#include <stddef.h>
Go to the source code of this file.
Namespaces | |
namespace | spot |
Functions | |
void | spot::int_vector_vector_compress (const std::vector< int > &input, std::vector< unsigned int > &output) |
Compress an int vector into a vector of unsigned int. | |
void | spot::int_vector_vector_decompress (const std::vector< unsigned int > &array, std::vector< int > &output, size_t size) |
Uncompress a vector of unsigned int into a vector of size size. | |
const std::vector< unsigned int > * | spot::int_array_vector_compress (const int *array, size_t n) |
Compress an int array if size n into a vector of unsigned int. | |
void | spot::int_vector_array_decompress (const std::vector< unsigned int > *array, int *res, size_t size) |
Uncompress a vector of unsigned int into an int array of size size. | |
void | spot::int_array_array_compress (const int *array, size_t n, int *dest, size_t &dest_size) |
Compress an int array of size n into a int array. | |
void | spot::int_array_array_decompress (const int *array, size_t array_size, int *res, size_t size) |
Uncompress an int array of size array_size into a int array of size size. |