VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ZLibInputStream Class Reference
+ Inheritance diagram for ZLibInputStream:

Public Member Functions

 ZLibInputStream (ByteOrder byteOrder=kNativeByteOrder)
 
 ~ZLibInputStream ()
 
bool open (InputStream &stream)
 
bool operator>> (std::string &string) override
 
uint32_t readRaw (void *buffer, uint32_t size) override
 
- Public Member Functions inherited from InputStream
 InputStream (ByteOrder byteOrder=kNativeByteOrder)
 
virtual ~InputStream () noexcept=default
 
ByteOrder getByteOrder () const
 
void setByteOrder (ByteOrder newByteOrder)
 
bool operator>> (int8_t &output)
 
bool operator>> (uint8_t &output)
 
bool operator>> (int16_t &output)
 
bool operator>> (uint16_t &output)
 
bool operator>> (int32_t &output)
 
bool operator>> (uint32_t &output)
 
bool operator>> (int64_t &output)
 
bool operator>> (uint64_t &output)
 
bool operator>> (double &output)
 

Protected Attributes

std::unique_ptr< mz_stream > zstream
 
InputStreamstream {nullptr}
 
std::array< Bytef, 4096 > internalBuffer
 

Constructor & Destructor Documentation

Member Function Documentation

bool open ( InputStream stream)
bool operator>> ( std::string &  string)
inlineoverridevirtual

Implements InputStream.

uint32_t readRaw ( void *  buffer,
uint32_t  size 
)
overridevirtual

Implements InputStream.

Member Data Documentation

std::array<Bytef, 4096> internalBuffer
protected
InputStream* stream {nullptr}
protected
std::unique_ptr< mz_stream > zstream
protected

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