xoreos  0.0.5
Namespaces | Functions | Variables
lzma.cpp File Reference

Decompress LZMA, using liblzma. More...

#include "src/common/types.h"
#include <lzma.h>
#include <boost/scope_exit.hpp>
#include "src/common/scopedptr.h"
#include "src/common/error.h"
#include "src/common/memreadstream.h"
Include dependency graph for lzma.cpp:

Go to the source code of this file.

Namespaces

 Common
 

Functions

static void *LZMA_API_CALL Common::lzmaAlloc (void *opaque, size_t nmemb, size_t size)
 
static void LZMA_API_CALL Common::lzmaFree (void *opaque, void *ptr)
 
byteCommon::decompressLZMA1 (const byte *data, size_t inputSize, size_t outputSize, bool noEndMarker=false)
 Decompress using the LZMA1 algorithm. More...
 
SeekableReadStream * Common::decompressLZMA1 (ReadStream &input, size_t inputSize, size_t outputSize, bool noEndMarker=false)
 Decompress using the LZMA1 algorithm. More...
 

Variables

static lzma_allocator Common::kLZMAAllocator
 

Detailed Description

Decompress LZMA, using liblzma.

Definition in file lzma.cpp.