Menu

Expanding into memory using 7z.dll/.so

Help
2009-08-20
2013-05-28
  • Martin Lemke

    Martin Lemke - 2009-08-20

    The Client7z example demonstrates well how to extract the files to the disk. I would like to be able to extract in a memory buffer as well, without writing anything to the disk.

    I checked available stream classes in the  repository, but it seems that there aren't any which would fit. Does it mean that I should be writing my own stream class that implements ISequentialOutStream interface if I want to expand into a memory buffer?

     
    • Igor Pavlov

      Igor Pavlov - 2009-08-20

      StreamObjects.h:
      CSequentialOutStreamImp
      CSequentialOutStreamImp2

       
      • Martin Lemke

        Martin Lemke - 2009-08-20

        This is exactly what I was looking for, thanks.

         

Log in to post a comment.