xoreos
0.0.5
|
Decompressing "small" files, Nintendo DS LZSS (types 0x00 and 0x10), found in Sonic. More...
#include "src/common/scopedptr.h"
#include "src/common/error.h"
#include "src/common/memreadstream.h"
#include "src/common/memwritestream.h"
#include "src/aurora/smallfile.h"
Go to the source code of this file.
Namespaces | |
Aurora | |
Functions | |
static void | Aurora::readSmallHeader (Common::ReadStream &small, uint32 &type, uint32 &size) |
static void | Aurora::writeSmallHeader (Common::WriteStream &small, uint32 type, uint32 size) |
static void | Aurora::decompress00 (Common::ReadStream &small, Common::WriteStream &out, uint32 size) |
static void | Aurora::compress00 (Common::ReadStream &in, Common::WriteStream &small, uint32 size) |
static void | Aurora::decompress10 (Common::ReadStream &small, Common::WriteStream &out, uint32 size) |
size_t | Aurora::getOccurrenceLength (const byte *newPtr, size_t newLength, const byte *oldPtr, size_t oldLength, size_t &displacement, size_t minDisplacement=1) |
Determine the maximum size of an LZSS-compressed block. More... | |
static void | Aurora::compress10 (Common::ReadStream &in, Common::WriteStream &small, uint32 size) |
static void | Aurora::decompress (Common::ReadStream &small, Common::WriteStream &out, uint32 type, uint32 size) |
Decompressing "small" files, Nintendo DS LZSS (types 0x00 and 0x10), found in Sonic.
Definition in file smallfile.cpp.