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
Показать файл Открыть проект

Открытые методы

Метод Описание
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