C# 클래스 GSF.IO.Checksums.Xor64

Calculates quad-word length (64-bit) XOR-based check-sum on specified portion of a buffer.
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
Reset ( ) : void

Resets the checksum to the initial value.

Update ( byte buffer ) : void

Updates the checksum with an array of bytes.

Update ( byte buffer, int offset, int count ) : void

Updates the checksum with the bytes taken from the array.

Update ( ulong value ) : void

Updates the checksum with a ulong value.

Xor64 ( ) : System

Creates a new instance of the Xor64Bit class. The checksum starts off with a value of 0.

메소드 상세

Reset() 공개 메소드

Resets the checksum to the initial value.
public Reset ( ) : void
리턴 void

Update() 공개 메소드

Updates the checksum with an array of bytes.
public Update ( byte buffer ) : void
buffer byte /// The source of the data to update with. ///
리턴 void

Update() 공개 메소드

Updates the checksum with the bytes taken from the array.
public Update ( byte buffer, int offset, int count ) : void
buffer byte /// an array of bytes ///
offset int /// the start of the data used for this update ///
count int /// the number of bytes to use for this update ///
리턴 void

Update() 공개 메소드

Updates the checksum with a ulong value.
public Update ( ulong value ) : void
value ulong The value to use for the update.
리턴 void

Xor64() 공개 메소드

Creates a new instance of the Xor64Bit class. The checksum starts off with a value of 0.
public Xor64 ( ) : System
리턴 System