C# Класс Microsoft.Protocols.TestSuites.Common.RopDeserializer

This class is used to deserialize input bytes into an ROP object
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Deserialize ( byte ropBytes, IDeserializable &ropList ) : void

Deserialize input bytes indicated by ropBytes into a list of ROPs indicated by ropList

Deserialize ( byte ropBytes, List &ropList ) : void

Deserialize input bytes indicated by ropBytes into a list of ROPs indicated by ropList

Init ( ) : void

Initialize and allocate memory for the internal dictionary

Register ( int ropId, IDeserializable iropDeserializer ) : void

Register a ROP's Id together with a Deserializer

Приватные методы

Метод Описание
RopDeserializer ( ) : System

Prevents a default instance of the RopDeserializer class from being created.

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

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

Deserialize input bytes indicated by ropBytes into a list of ROPs indicated by ropList
public static Deserialize ( byte ropBytes, IDeserializable &ropList ) : void
ropBytes byte The bytes need to be deserialized
ropList IDeserializable The ROPs list deserialized into
Результат void

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

Deserialize input bytes indicated by ropBytes into a list of ROPs indicated by ropList
public static Deserialize ( byte ropBytes, List &ropList ) : void
ropBytes byte The bytes need to be deserialized
ropList List The ROPs list deserialized into
Результат void

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

Initialize and allocate memory for the internal dictionary
public static Init ( ) : void
Результат void

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

Register a ROP's Id together with a Deserializer
public static Register ( int ropId, IDeserializable iropDeserializer ) : void
ropId int The ROP's Id
iropDeserializer IDeserializable The interface define the methods that is needed to deserialize a bytes array into an ROP object
Результат void