Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Properties | Events | List of all members
DotZLib.Codec Interface Reference

Declares methods and events for implementing compressors/decompressors More...

+ Inheritance diagram for DotZLib.Codec:

Public Member Functions

void Add (byte[] data)
 Adds more data to the codec to be processed. More...
 
void Add (byte[] data, int offset, int count)
 Adds more data to the codec to be processed. More...
 
void Finish ()
 Finishes up any pending data that needs to be processed and handled. More...
 

Properties

uint Checksum [get]
 Gets the checksum of the data that has been added so far More...
 

Events

DataAvailableHandler DataAvailable
 Occurs when more processed data are available. More...
 

Detailed Description

Declares methods and events for implementing compressors/decompressors

Definition at line 174 of file DotZLib.cs.

Member Function Documentation

◆ Add() [1/2]

void DotZLib.Codec.Add ( byte []  data)

Adds more data to the codec to be processed.

Parameters
dataByte array containing the data to be added to the codec

Adding data may, or may not, raise the DataAvailable event

Implemented in DotZLib.CodecBase.

◆ Add() [2/2]

void DotZLib.Codec.Add ( byte []  data,
int  offset,
int  count 
)

Adds more data to the codec to be processed.

Parameters
dataByte array containing the data to be added to the codec
offsetThe index of the first byte to add from data
countThe number of bytes to add

Adding data may, or may not, raise the DataAvailable event

Implemented in DotZLib.CodecBase, DotZLib.Deflater, and DotZLib.Inflater.

◆ Finish()

void DotZLib.Codec.Finish ( )

Finishes up any pending data that needs to be processed and handled.

Implemented in DotZLib.CodecBase, DotZLib.Deflater, and DotZLib.Inflater.

Property Documentation

◆ Checksum

uint DotZLib.Codec.Checksum
get

Gets the checksum of the data that has been added so far

Definition at line 205 of file DotZLib.cs.

Event Documentation

◆ DataAvailable

DataAvailableHandler DotZLib.Codec.DataAvailable

Occurs when more processed data are available.

Definition at line 179 of file DotZLib.cs.


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