summaryrefslogtreecommitdiffstats
path: root/lz4.h
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-06-19 21:54:16 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-06-19 21:54:16 (GMT)
commit6e1179a1e3aa00d329983f85e4e13a9a9a4d3223 (patch)
treeda31ea81faa2ac9944cf102802644977ad3db5f7 /lz4.h
parentd517d609d95bdbab665a6ddb6e018c450d1e5ae6 (diff)
downloadlz4-6e1179a1e3aa00d329983f85e4e13a9a9a4d3223.zip
lz4-6e1179a1e3aa00d329983f85e4e13a9a9a4d3223.tar.gz
lz4-6e1179a1e3aa00d329983f85e4e13a9a9a4d3223.tar.bz2
bugfix : streaming tiny messages from within very small ringbuffer (Takayuki's streaming example 2)
Diffstat (limited to 'lz4.h')
-rwxr-xr-x[-rw-r--r--]lz4.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lz4.h b/lz4.h
index 9d58a1a..1cf9eab 100644..100755
--- a/lz4.h
+++ b/lz4.h
@@ -241,7 +241,7 @@ int LZ4_free (void* LZ4_stream); /* yes, it's the same one as compression */
*_continue() :
These decoding functions allow decompression of multiple blocks in "streaming" mode.
Previously decoded blocks must still be available at the memory position where they were decoded.
- If it's not possible, save the relevant part of decoded data before it disappears,
+ If it's not possible, save the relevant part of decoded data into a safe buffer,
and indicate where it stands using LZ4_setDictDecode()
*/
int LZ4_decompress_safe_continue (void* LZ4_streamDecode, const char* source, char* dest, int compressedSize, int maxOutputSize);
@@ -249,9 +249,9 @@ int LZ4_decompress_fast_continue (void* LZ4_streamDecode, const char* source, ch
/*
* LZ4_setDictDecode
- * Use this function to instruct where to find the dictionary
- * This function is not necessary if previous data is still available where it was decoded.
- * Loading a size of 0 is allowed (same effect as no dictionary).
+ * Use this function to instruct where to find the dictionary.
+ * This function is not necessary if previous data is still available where it was already decoded.
+ * Setting a size of 0 is allowed (same effect as no dictionary).
* Return : 1 if OK, 0 if error
*/
int LZ4_setDictDecode (void* LZ4_streamDecode, const char* dictionary, int dictSize);