AMPS C# Client  5.3.5.0
AMPS C# Client for .NET
AMPS.Client.Utilities.CRC32 Interface Reference

Represents a CRC32 calculator. More...

+ Inheritance diagram for AMPS.Client.Utilities.CRC32:

Public Member Functions

long init ()
 Initializes the CRC32 calculator. More...
 
long getValue (long result_)
 Gets the CRC32 value. More...
 
long update (long result_, byte[] buf, int offset, int len)
 Updates the CRC32 calculator with the specified byte array. More...
 

Detailed Description

Represents a CRC32 calculator.

Member Function Documentation

◆ getValue()

long AMPS.Client.Utilities.CRC32.getValue ( long  result_)

Gets the CRC32 value.

Parameters
result_The current value of the CRC32 calculator.
Returns
The CRC32 value.

◆ init()

long AMPS.Client.Utilities.CRC32.init ( )

Initializes the CRC32 calculator.

Returns
The initial value of the CRC32 calculator.

◆ update()

long AMPS.Client.Utilities.CRC32.update ( long  result_,
byte[]  buf,
int  offset,
int  len 
)

Updates the CRC32 calculator with the specified byte array.

Parameters
result_The current value of the CRC32 calculator.
bufThe byte array to update the CRC32 calculator with.
offsetThe zero-based byte offset in buf at which to begin reading bytes to use in the CRC32 calculation.
lenThe number of bytes to read from buf for the CRC32 calculation.
Returns
The updated value of the CRC32 calculator.

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