C# Class SharpMod.CRC32

A class which exposes the server CRC32 functionality
Afficher le fichier Open project: txdv/sharpmod

Méthodes publiques

Méthode Description
CRC32 ( ) : System

Creates an instance of the CRC32 class

CRC32 ( IntPtr ptr ) : System

Creates an instance of the CRC32 class, the pointer points to the spot where the data is accumulated

Final ( ) : long

Finalizes the CRC32 algorithm and returns a value

Process ( IntPtr ptr, int size ) : void

Processes a memory segment

Process ( char ch ) : void

Processes a character

Process ( int i ) : void

Process an Integer

Process ( long l ) : void

Process a long

Process ( string str ) : void

Method Details

CRC32() public méthode

Creates an instance of the CRC32 class
public CRC32 ( ) : System
Résultat System

CRC32() public méthode

Creates an instance of the CRC32 class, the pointer points to the spot where the data is accumulated
public CRC32 ( IntPtr ptr ) : System
ptr System.IntPtr /// A pointer to an accumulation spot ///
Résultat System

Final() public méthode

Finalizes the CRC32 algorithm and returns a value
public Final ( ) : long
Résultat long

Process() public méthode

Processes a memory segment
public Process ( IntPtr ptr, int size ) : void
ptr System.IntPtr /// A pointer to the memory chunk ///
size int /// the size of the memory ///
Résultat void

Process() public méthode

Processes a character
public Process ( char ch ) : void
ch char /// A character to process ///
Résultat void

Process() public méthode

Process an Integer
public Process ( int i ) : void
i int /// An integer to process ///
Résultat void

Process() public méthode

Process a long
public Process ( long l ) : void
l long /// A long ///
Résultat void

Process() public méthode

public Process ( string str ) : void
str string
Résultat void