Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Implements a data decompressor, using the inflate algorithm in the ZLib dll More...
Public Member Functions | |
Inflater () | |
Constructs an new instance of the Inflater More... | |
override void | Add (byte[] data, int offset, int count) |
Adds more data to the codec to be processed. More... | |
override void | Finish () |
Finishes up any pending data that needs to be processed and handled. More... | |
Public Member Functions inherited from DotZLib.CodecBase | |
CodecBase () | |
Initializes a new instance of the CodeBase class. More... | |
void | Add (byte[] data) |
Adds more data to the codec to be processed. More... | |
void | Dispose () |
Releases any unmanaged resources and calls the CleanUp() method of the derived class More... | |
Protected Member Functions | |
override void | CleanUp () |
Closes the internal zlib inflate stream More... | |
Protected Member Functions inherited from DotZLib.CodecBase | |
void | OnDataAvailable () |
Fires the DataAvailable event More... | |
void | copyInput (byte[] data, int startIndex, int count) |
Copies a number of bytes to the internal codec buffer - ready for proccesing More... | |
void | resetOutput () |
Resets the internal output buffers to a known state - ready for processing More... | |
void | setChecksum (uint newSum) |
Updates the running checksum property More... | |
Additional Inherited Members | |
Protected Attributes inherited from DotZLib.CodecBase | |
bool | _isDisposed = false |
True if the object instance has been disposed, false otherwise More... | |
const int | kBufferSize = 16384 |
The size of the internal buffers More... | |
Properties inherited from DotZLib.CodecBase | |
uint | Checksum [get] |
Gets the checksum of the data that has been added so far More... | |
Properties inherited from DotZLib.Codec | |
uint | Checksum [get] |
Gets the checksum of the data that has been added so far More... | |
Events inherited from DotZLib.CodecBase | |
DataAvailableHandler | DataAvailable |
Occurs when more processed data are available. More... | |
Events inherited from DotZLib.Codec | |
DataAvailableHandler | DataAvailable |
Occurs when more processed data are available. More... | |
Implements a data decompressor, using the inflate algorithm in the ZLib dll
Definition at line 18 of file Inflater.cs.
|
inline |
Constructs an new instance of the Inflater
Definition at line 37 of file Inflater.cs.
References DotZLib.CodecBase.resetOutput(), and DotZLib.Info.Version.
Adds more data to the codec to be processed.
data | Byte array containing the data to be added to the codec |
offset | The index of the first byte to add from data |
count | The number of bytes to add |
Adding data may, or may not, raise the DataAvailable
event
Implements DotZLib.CodecBase.
Definition at line 54 of file Inflater.cs.
References DotZLib.CodecBase.copyInput(), int, DotZLib.CodecBase.kBufferSize, DotZLib.CodecBase.OnDataAvailable(), and DotZLib.CodecBase.setChecksum().
|
inlineprotectedvirtual |
Closes the internal zlib inflate stream
Implements DotZLib.CodecBase.
Definition at line 101 of file Inflater.cs.
|
inlinevirtual |
Finishes up any pending data that needs to be processed and handled.
Implements DotZLib.CodecBase.
Definition at line 84 of file Inflater.cs.
References DotZLib.CodecBase.OnDataAvailable(), DotZLib.CodecBase.resetOutput(), and DotZLib.CodecBase.setChecksum().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:45:02.
© Copyright Michele Bosi. All rights reserved.