LZMA SDK: stream based decompression

Sergey
2014-03-27
2014-03-27
  • Sergey

    Sergey - 2014-03-27

    hi all

    i'm creating application which should extract huge files from archive (1Gb+).
    i'm using LZMA SDK (there are restrictions to use GPL* libs).

    so, i found that LZMA decoders operate by input stream & output buffers, it means that output file must be cached in memory before it flushed into HDD. for small files it works fine, but huge buffers could not be allocated & decompressor failed.

    is there any way to extract file part-by-part? may be there is example where such functionality implemented...

    thank you

    --Sergey

     
  • Igor Pavlov

    Igor Pavlov - 2014-03-27

    If you need to extract from 7z archive, you can use C++ code instead of C code.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks