BZIP2 compressed memory stream
Inheritance:
Public Methods
-
FXBzMemoryStream(const FXObject* cont=NULL)
- Create memory stream
-
FXbool open(FXuchar* data, FXStreamDirection)
- Open store
-
FXbool open(FXuchar* data, FXuint sp, FXStreamDirection)
- Open stream with specified size
-
void setSpace(unsigned long sp)
- Set available space
-
void takeBuffer(FXuchar*& buffer, unsigned long& sp)
- Take buffer away from stream
-
void giveBuffer(FXuchar* buffer, unsigned long sp)
- Give buffer to stream
-
virtual FXbool position(unsigned long p)
- Move to position
-
unsigned long getCompressedSize() const
- Get final size of compressed stream
-
FXbool close()
- Close
-
virtual ~FXBzMemoryStream()
- Destructor
Public Methods
-
FXStreamStatus status() const
-
void setError(FXStreamStatus err)
-
FXStreamDirection direction() const
-
const FXObject* container() const
-
void swapBytes(FXbool s)
-
FXbool swapBytes() const
-
static FXbool isLittleEndian()
-
virtual FXStream& operator<<(const FXuchar& v)
-
FXStream& saveObject(const FXObject* v)
-
virtual FXStream& operator>>(FXuchar& v)
-
FXStream& loadObject(FXObject*& v)
Protected Methods
-
virtual void saveItems(const void* buf, FXuint n)
-
virtual void loadItems(void* buf, FXuint n)
Documentation
BZIP2 compressed memory stream
FXBzMemoryStream(const FXObject* cont=NULL)
- Create memory stream
FXbool open(FXuchar* data, FXStreamDirection)
- Open store
FXbool open(FXuchar* data, FXuint sp, FXStreamDirection)
- Open stream with specified size
void setSpace(unsigned long sp)
- Set available space
void takeBuffer(FXuchar*& buffer, unsigned long& sp)
- Take buffer away from stream
void giveBuffer(FXuchar* buffer, unsigned long sp)
- Give buffer to stream
virtual FXbool position(unsigned long p)
- Move to position
unsigned long getCompressedSize() const
- Get final size of compressed stream
FXbool close()
- Close
virtual ~FXBzMemoryStream()
- Destructor
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.