openMSX
Public Member Functions | List of all members
openmsx::ZlibInflate Class Reference

#include <ZlibInflate.hh>

Public Member Functions

 ZlibInflate (const byte *buffer, size_t len)
 
 ~ZlibInflate ()
 
void skip (size_t num)
 
byte getByte ()
 
unsigned get16LE ()
 
unsigned get32LE ()
 
std::string getString (size_t len)
 
std::string getCString ()
 
size_t inflate (MemBuffer< byte > &output, size_t sizeHint=65536)
 

Detailed Description

Definition at line 11 of file ZlibInflate.hh.

Constructor & Destructor Documentation

§ ZlibInflate()

openmsx::ZlibInflate::ZlibInflate ( const byte buffer,
size_t  len 
)

Definition at line 9 of file ZlibInflate.cc.

References gl::max().

§ ~ZlibInflate()

openmsx::ZlibInflate::~ZlibInflate ( )

Definition at line 25 of file ZlibInflate.cc.

Member Function Documentation

§ get16LE()

unsigned openmsx::ZlibInflate::get16LE ( )

§ get32LE()

unsigned openmsx::ZlibInflate::get32LE ( )

Definition at line 56 of file ZlibInflate.cc.

References getByte().

Referenced by openmsx::ZipFileAdapter::ZipFileAdapter().

§ getByte()

byte openmsx::ZlibInflate::getByte ( )

§ getCString()

std::string openmsx::ZlibInflate::getCString ( )

Definition at line 74 of file ZlibInflate.cc.

References getByte().

Referenced by openmsx::GZFileAdapter::GZFileAdapter().

§ getString()

std::string openmsx::ZlibInflate::getString ( size_t  len)

Definition at line 65 of file ZlibInflate.cc.

References getByte().

Referenced by openmsx::ZipFileAdapter::ZipFileAdapter().

§ inflate()

size_t openmsx::ZlibInflate::inflate ( MemBuffer< byte > &  output,
size_t  sizeHint = 65536 
)

§ skip()

void openmsx::ZlibInflate::skip ( size_t  num)

The documentation for this class was generated from the following files: