Rizin
unix-like reverse engineering framework and cli tools
DotZLib.Codec Interface Reference

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

Inheritance diagram for DotZLib.Codec:
DotZLib.CodecBase DotZLib.Deflater DotZLib.Inflater

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.Inflater, DotZLib.Deflater, and DotZLib.CodecBase.

◆ Finish()

void DotZLib.Codec.Finish ( )

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

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

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.

205 { get; }

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: