openMSX
|
#include <ZlibInflate.hh>
Public Member Functions | |
ZlibInflate (std::span< const uint8_t > input) | |
ZlibInflate (const ZlibInflate &)=delete | |
ZlibInflate (ZlibInflate &&)=delete | |
ZlibInflate & | operator= (const ZlibInflate &)=delete |
ZlibInflate & | operator= (ZlibInflate &&)=delete |
~ZlibInflate () | |
void | skip (size_t num) |
uint8_t | getByte () |
unsigned | get16LE () |
unsigned | get32LE () |
std::string | getString (size_t len) |
std::string | getCString () |
size_t | inflate (MemBuffer< uint8_t > &output, size_t sizeHint=65536) |
Definition at line 12 of file ZlibInflate.hh.
|
explicit |
Definition at line 10 of file ZlibInflate.cc.
|
delete |
|
delete |
openmsx::ZlibInflate::~ZlibInflate | ( | ) |
Definition at line 26 of file ZlibInflate.cc.
unsigned openmsx::ZlibInflate::get16LE | ( | ) |
Definition at line 48 of file ZlibInflate.cc.
References getByte().
unsigned openmsx::ZlibInflate::get32LE | ( | ) |
Definition at line 55 of file ZlibInflate.cc.
References getByte().
uint8_t openmsx::ZlibInflate::getByte | ( | ) |
Definition at line 38 of file ZlibInflate.cc.
Referenced by get16LE(), get32LE(), getCString(), getString(), and skip().
std::string openmsx::ZlibInflate::getCString | ( | ) |
Definition at line 72 of file ZlibInflate.cc.
References getByte().
std::string openmsx::ZlibInflate::getString | ( | size_t | len | ) |
Definition at line 64 of file ZlibInflate.cc.
size_t openmsx::ZlibInflate::inflate | ( | MemBuffer< uint8_t > & | output, |
size_t | sizeHint = 65536 |
||
) |
Definition at line 81 of file ZlibInflate.cc.
References openmsx::MemBuffer< T, ALIGNMENT >::data(), inflate(), and openmsx::MemBuffer< T, ALIGNMENT >::resize().
Referenced by inflate().
|
delete |
|
delete |
void openmsx::ZlibInflate::skip | ( | size_t | num | ) |
Definition at line 33 of file ZlibInflate.cc.