FXBzMemoryStream

class FXBzMemoryStream

BZIP2 compressed memory stream

Inheritance:


Public Methods

[more] FXBzMemoryStream(const FXObject* cont=NULL)
Create memory stream
[more]FXbool open(FXuchar* data, FXStreamDirection)
Open store
[more]FXbool open(FXuchar* data, FXuint sp, FXStreamDirection)
Open stream with specified size
[more]void setSpace(unsigned long sp)
Set available space
[more]void takeBuffer(FXuchar*& buffer, unsigned long& sp)
Take buffer away from stream
[more]void giveBuffer(FXuchar* buffer, unsigned long sp)
Give buffer to stream
[more]virtual FXbool position(unsigned long p)
Move to position
[more]unsigned long getCompressedSize() const
Get final size of compressed stream
[more]FXbool close()
Close
[more]virtual ~FXBzMemoryStream()
Destructor


Inherited from FXStream:

Public Methods

oFXStreamStatus status() const
ovoid setError(FXStreamStatus err)
oFXStreamDirection direction() const
oconst FXObject* container() const
ovoid swapBytes(FXbool s)
oFXbool swapBytes() const
ostatic FXbool isLittleEndian()
ovirtual FXStream& operator<<(const FXuchar& v)
oFXStream& saveObject(const FXObject* v)
ovirtual FXStream& operator>>(FXuchar& v)
oFXStream& loadObject(FXObject*& v)

Protected Methods

ovirtual void saveItems(const void* buf, FXuint n)
ovirtual void loadItems(void* buf, FXuint n)


Documentation

BZIP2 compressed memory stream
o FXBzMemoryStream(const FXObject* cont=NULL)
Create memory stream

oFXbool open(FXuchar* data, FXStreamDirection)
Open store

oFXbool open(FXuchar* data, FXuint sp, FXStreamDirection)
Open stream with specified size

ovoid setSpace(unsigned long sp)
Set available space

ovoid takeBuffer(FXuchar*& buffer, unsigned long& sp)
Take buffer away from stream

ovoid giveBuffer(FXuchar* buffer, unsigned long sp)
Give buffer to stream

ovirtual FXbool position(unsigned long p)
Move to position

ounsigned long getCompressedSize() const
Get final size of compressed stream

oFXbool close()
Close

ovirtual ~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++.