C# Class Server.Network.Compression

Handles outgoing packet compression for the network.
Afficher le fichier Open project: Grimoric/RunUO.T2A Class Usage Examples

Méthodes publiques

Свойство Type Description
Compressor ICompressor

Méthodes publiques

Méthode Description
Compress ( byte input, int offset, int count, int &length ) : byte[]
Pack ( byte dest, int &destLength, byte source, int sourceLength ) : ZLibError
Pack ( byte dest, int &destLength, byte source, int sourceLength, ZLibQuality quality ) : ZLibError
Unpack ( byte dest, int &destLength, byte source, int sourceLength ) : ZLibError

Private Methods

Méthode Description
Compress ( byte input, int length, byte &output, int &outputLength ) : void
Compression ( ) : System

Method Details

Compress() public static méthode

public static Compress ( byte input, int offset, int count, int &length ) : byte[]
input byte
offset int
count int
length int
Résultat byte[]

Pack() public static méthode

public static Pack ( byte dest, int &destLength, byte source, int sourceLength ) : ZLibError
dest byte
destLength int
source byte
sourceLength int
Résultat ZLibError

Pack() public static méthode

public static Pack ( byte dest, int &destLength, byte source, int sourceLength, ZLibQuality quality ) : ZLibError
dest byte
destLength int
source byte
sourceLength int
quality ZLibQuality
Résultat ZLibError

Unpack() public static méthode

public static Unpack ( byte dest, int &destLength, byte source, int sourceLength ) : ZLibError
dest byte
destLength int
source byte
sourceLength int
Résultat ZLibError

Property Details

Compressor public_oe static_oe property

public static ICompressor Compressor
Résultat ICompressor