C# 클래스 Sage.Sis.Sdata.Etag.Crc.Crc32EtagProvider

Get the CRC-32 Value for an object. The object is serialized to a string value by a given implementation of IEtagSerializer.
상속: IEtagProvider
파일 보기 프로젝트 열기: Sage/SData-Contracts

공개 메소드들

메소드 설명
Crc32EtagProvider ( IEtagSerializer serializer ) : System

Initializes a new instance of the Crc32EtagProvider class with a serializer..

비공개 메소드들

메소드 설명
Create ( byte buffer ) : double
IEtagProvider ( object obj ) : string

Get the crc32 value for an object.

1. The object is serialized to a string value by the given implementation of IEtagSerializer. 2. The serialized string value is encoded to a byte array using the 1252 code page. 3. The byte array is computed to a crc-32 value. 4. The crc-32 value is converted to a string representation.

메소드 상세

Crc32EtagProvider() 공개 메소드

Initializes a new instance of the Crc32EtagProvider class with a serializer..
public Crc32EtagProvider ( IEtagSerializer serializer ) : System
serializer IEtagSerializer The serializer.
리턴 System