Go to the documentation of this file.
36 #if defined (__cplusplus)
49 #define LZ4_VERSION_MAJOR 1
50 #define LZ4_VERSION_MINOR 5
51 #define LZ4_VERSION_RELEASE 0
52 #define LZ4_VERSION_NUMBER (LZ4_VERSION_MAJOR *100*100 + LZ4_VERSION_MINOR *100 + LZ4_VERSION_RELEASE)
65 #define LZ4_MEMORY_USAGE 14
72 int LZ4_compress (
const char* source,
char* dest,
int sourceSize);
73 int LZ4_decompress_safe (
const char* source,
char* dest,
int compressedSize,
int maxDecompressedSize);
100 #define LZ4_MAX_INPUT_SIZE 0x7E000000
101 #define LZ4_COMPRESSBOUND(isize) ((unsigned int)(isize) > (unsigned int)LZ4_MAX_INPUT_SIZE ? 0 : (isize) + ((isize)/255) + 16)
168 int LZ4_decompress_safe_partial (
const char* source,
char* dest,
int compressedSize,
int targetOutputSize,
int maxDecompressedSize);
175 #define LZ4_STREAMSIZE_U64 ((1 << (LZ4_MEMORY_USAGE-3)) + 4)
176 #define LZ4_STREAMSIZE (LZ4_STREAMSIZE_U64 * sizeof(long long))
240 #define LZ4_STREAMDECODESIZE_U64 4
241 #define LZ4_STREAMDECODESIZE (LZ4_STREAMDECODESIZE_U64 * sizeof(unsigned long long))
282 int LZ4_decompress_safe_usingDict (
const char* source,
char* dest,
int compressedSize,
int maxDecompressedSize,
const char* dictStart,
int dictSize);
313 #if defined (__cplusplus)