PowerUI.Compression.ZlibCompressor Class Reference

Detailed Description

An interface for the Zlib compression algorithm. Use Compression.Get("zlib") instead (it's a global instance).

Inheritance diagram for PowerUI.Compression.ZlibCompressor:
PowerUI.Compression.Compressor

Public Member Functions

override string[] GetNames ()
 The names of the compressor. More...
 
override byte[] Decompress (Stream source, byte[] target, int offset, ref int output_size)
 Decompresses 'output_size' original bytes from source into target. Essentially target should be at least 'output_size' in length. More...
 
- Public Member Functions inherited from PowerUI.Compression.Compressor
byte[] Decompress (Stream source)
 When an algorithm supports it, this figures out the right amount of bytes to decompress. More...
 
byte[] Decompress (Stream source, int byteCount)
 When an algorithm supports it, this figures out the right amount of bytes to decompress. More...
 
void Decompress (Stream source, byte[] target)
 When an algorithm supports it, this figures out the right amount of bytes to decompress. More...
 
void Decompress (Stream source, byte[] target, int offset, int size)
 When an algorithm supports it, this figures out the right amount of bytes to decompress. More...
 

Additional Inherited Members

- Protected Member Functions inherited from PowerUI.Compression.Compressor
void SizeRequired ()
 

Member Function Documentation

override byte [] PowerUI.Compression.ZlibCompressor.Decompress ( Stream  source,
byte[]  target,
int  offset,
ref int  output_size 
)
inlinevirtual

Decompresses 'output_size' original bytes from source into target. Essentially target should be at least 'output_size' in length.

Reimplemented from PowerUI.Compression.Compressor.

override string [] PowerUI.Compression.ZlibCompressor.GetNames ( )
inlinevirtual

The names of the compressor.

Reimplemented from PowerUI.Compression.Compressor.