summaryrefslogtreecommitdiffstats
path: root/lib/lz4frame.h
diff options
context:
space:
mode:
authorAlexander Mohr <alexander.m.mohr@mercedes-benz.com>2022-07-05 09:35:58 (GMT)
committerAlexander Mohr <alexander.m.mohr@mercedes-benz.com>2022-07-05 09:56:23 (GMT)
commit42eb47d42f041054140b8e08ffc6ba85e9f092f2 (patch)
treede71755c5a79fdc34631f1e31f2d763c105df5a7 /lib/lz4frame.h
parente595150bafff318f6f66e4b364193b32701449e3 (diff)
downloadlz4-42eb47d42f041054140b8e08ffc6ba85e9f092f2.zip
lz4-42eb47d42f041054140b8e08ffc6ba85e9f092f2.tar.gz
lz4-42eb47d42f041054140b8e08ffc6ba85e9f092f2.tar.bz2
uncompressed-api: allow uncompressed_update only for independent blocks
Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
Diffstat (limited to 'lib/lz4frame.h')
-rw-r--r--lib/lz4frame.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lz4frame.h b/lib/lz4frame.h
index 7d81fa0..691ad50 100644
--- a/lib/lz4frame.h
+++ b/lib/lz4frame.h
@@ -552,6 +552,7 @@ LZ4FLIB_STATIC_API size_t LZ4F_getBlockSize(unsigned);
* After an error, the state is left in a UB state, and must be re-initialized or freed.
* If previously a compressed block was written, buffered data is flushed
* before appending uncompressed data is continued.
+ * This is only supported when LZ4F_blockIndependent is used
* `cOptPtr` is optional : NULL can be provided, in which case all options are set to default.
* @return : number of bytes written into `dstBuffer` (it can be zero, meaning input data was just buffered).
* or an error code if it fails (which can be tested using LZ4F_isError())