Question : LZMA compress / expand buffer api?

I downloaded and looked through the 7ZIP sdk:
http://www.7-zip.org/sdk.html

I am trying to create a simple LZMA compress_buffer api and epand_buffer api. Not looking for directory scans or file operations or progress bars or anything: just compress buffer and expand buffer. They must be in there somewhere, but for the life of me I can't find them.

Has anyone found or been able to implement the LZMA buffer operations?

Thanks.

Answer : LZMA compress / expand buffer api?

The 7-ZIP SDK does, in fact describe how to do this.  TH attached is a file from the SDK.

The other techniwuq (using a temp file) would just use the executable to launch the EXE "silently"  If you are using C++, then you could check out this article to see how to launch an executable from within code.

Random Solutions  
 
programming4us programming4us