diff options
author | Alexander Mohr <alexander.m.mohr@mercedes-benz.com> | 2022-06-03 13:38:54 (GMT) |
---|---|---|
committer | Alexander Mohr <alexander.m.mohr@mercedes-benz.com> | 2022-06-09 15:08:01 (GMT) |
commit | 4aeb5020c35e2464c25eb69d8bf6c7645b8faf20 (patch) | |
tree | d23ce84bf30f996bf6c7842445078986be63c628 /lib/lz4hc.h | |
parent | 14d3b6342f1dca15fe36f952434ecf3c9b8329a0 (diff) | |
download | lz4-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 'lib/lz4hc.h')
-rw-r--r-- | lib/lz4hc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/lz4hc.h b/lib/lz4hc.h index f4afc9b..11671dc 100644 --- a/lib/lz4hc.h +++ b/lib/lz4hc.h @@ -173,6 +173,8 @@ LZ4LIB_API int LZ4_compress_HC_continue_destSize(LZ4_streamHC_t* LZ4_streamHCPtr const char* src, char* dst, int* srcSizePtr, int targetDstSize); +LZ4LIB_API int LZ4_DictHCSize(LZ4_streamHC_t* LZ4_streamHCPtr, int dictSize); + LZ4LIB_API int LZ4_saveDictHC (LZ4_streamHC_t* streamHCPtr, char* safeBuffer, int maxDictSize); |