C# Class Microsoft.Protocols.TestSuites.Common.RopDeserializer

This class is used to deserialize input bytes into an ROP object
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
RopDeserializer ( ) : System

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

Method Details

Deserialize() public static method

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
return void

Deserialize() public static method

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
return void

Init() public static method

Initialize and allocate memory for the internal dictionary
public static Init ( ) : void
return void

Register() public static method

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
return void