#include <lz4.h>
Go to the source code of this file.
Classes | |
struct | roslz4_stream |
Functions | |
int | roslz4_blockSizeFromIndex (int block_id) |
int | roslz4_buffToBuffCompress (char *input, unsigned int input_size, char *output, unsigned int *output_size, int block_size_id) |
int | roslz4_buffToBuffDecompress (char *input, unsigned int input_size, char *output, unsigned int *output_size) |
int | roslz4_compress (roslz4_stream *stream, int action) |
void | roslz4_compressEnd (roslz4_stream *stream) |
int | roslz4_compressStart (roslz4_stream *stream, int block_size_id) |
int | roslz4_decompress (roslz4_stream *stream) |
void | roslz4_decompressEnd (roslz4_stream *str) |
int | roslz4_decompressStart (roslz4_stream *stream) |
Variables | |
const int | ROSLZ4_DATA_ERROR = -3 |
const int | ROSLZ4_ERROR = -1 |
const int | ROSLZ4_FINISH = 1 |
const int | ROSLZ4_MEMORY_ERROR = -5 |
const int | ROSLZ4_OK = 0 |
const int | ROSLZ4_OUTPUT_SMALL = -2 |
const int | ROSLZ4_PARAM_ERROR = -4 |
const int | ROSLZ4_RUN = 0 |
const int | ROSLZ4_STREAM_END = 2 |
int roslz4_buffToBuffCompress | ( | char * | input, |
unsigned int | input_size, | ||
char * | output, | ||
unsigned int * | output_size, | ||
int | block_size_id | ||
) |
int roslz4_buffToBuffDecompress | ( | char * | input, |
unsigned int | input_size, | ||
char * | output, | ||
unsigned int * | output_size | ||
) |
int roslz4_compress | ( | roslz4_stream * | stream, |
int | action | ||
) |
void roslz4_compressEnd | ( | roslz4_stream * | stream | ) |
int roslz4_compressStart | ( | roslz4_stream * | stream, |
int | block_size_id | ||
) |
int roslz4_decompress | ( | roslz4_stream * | stream | ) |
void roslz4_decompressEnd | ( | roslz4_stream * | str | ) |
int roslz4_decompressStart | ( | roslz4_stream * | stream | ) |