C# Класс BlobSync.Helpers.SerializationHelper

Показать файл Открыть проект

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

Метод Описание
ReadBinaryCompleteSignature ( Stream s ) : CompleteSignature
ReadSizeBasedBinarySignature ( Stream s ) : SizeBasedCompleteSignature

Gets SizeBasedCompleteSignature. Format is: first 4 bytes are number of CompleteSig's there are. For each complete sig, the format is 4 bytes, number of entries.

WriteBinarySizedBasedSignature ( SizeBasedCompleteSignature sig, Stream s ) : void

Описание методов

ReadBinaryCompleteSignature() публичный статический Метод

public static ReadBinaryCompleteSignature ( Stream s ) : CompleteSignature
s Stream
Результат BlobSync.Datatypes.CompleteSignature

ReadSizeBasedBinarySignature() публичный статический Метод

Gets SizeBasedCompleteSignature. Format is: first 4 bytes are number of CompleteSig's there are. For each complete sig, the format is 4 bytes, number of entries.
public static ReadSizeBasedBinarySignature ( Stream s ) : SizeBasedCompleteSignature
s Stream
Результат BlobSync.Datatypes.SizeBasedCompleteSignature

WriteBinarySizedBasedSignature() публичный статический Метод

public static WriteBinarySizedBasedSignature ( SizeBasedCompleteSignature sig, Stream s ) : void
sig BlobSync.Datatypes.SizeBasedCompleteSignature
s Stream
Результат void