summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlexander Mohr <alexander.m.mohr@mercedes-benz.com>2022-06-03 13:38:54 (GMT)
committerAlexander Mohr <alexander.m.mohr@mercedes-benz.com>2022-06-09 15:08:01 (GMT)
commit4aeb5020c35e2464c25eb69d8bf6c7645b8faf20 (patch)
treed23ce84bf30f996bf6c7842445078986be63c628 /doc
parent14d3b6342f1dca15fe36f952434ecf3c9b8329a0 (diff)
downloadlz4-4aeb5020c35e2464c25eb69d8bf6c7645b8faf20.zip
lz4-4aeb5020c35e2464c25eb69d8bf6c7645b8faf20.tar.gz
lz4-4aeb5020c35e2464c25eb69d8bf6c7645b8faf20.tar.bz2
frame-api: add method to insert uncomressed data
new method `uncompressed_update` allows to insert blocks without compression into the lz4 stream. The usage is documented in the frameCompress example Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/lz4frame_manual.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lz4frame_manual.html b/doc/lz4frame_manual.html
index 0040c98..9490b51 100644
--- a/doc/lz4frame_manual.html
+++ b/doc/lz4frame_manual.html
@@ -75,6 +75,11 @@
LZ4F_OBSOLETE_ENUM(skippableFrame)
} LZ4F_frameType_t;
</b></pre><BR>
+<pre><b>typedef enum {
+ LZ4B_COMPRESSED,
+ LZ4B_UNCOMPRESSED,
+} LZ4F_blockCompression_t;
+</b></pre><BR>
<pre><b>typedef struct {
LZ4F_blockSizeID_t blockSizeID; </b>/* max64KB, max256KB, max1MB, max4MB; 0 == default */<b>
LZ4F_blockMode_t blockMode; </b>/* LZ4F_blockLinked, LZ4F_blockIndependent; 0 == default */<b>