C# Class WDServer.Serializer

This class serializes Instructions that are passed between client and server. Functionality: Serialization and Deserialization of the Instructions. Note: Different than the client's serializer class (it uses different implementation of the JSON.) The Server uses .NET's implementation which is better and faster.
Authors: Jeff, Rosanna, Jens (Server team). Comments by Rosanna and Nadia. Updated by: NA
ファイルを表示 Open project: Good4m/WindowsDefender

Public Methods

Method Description
DeSerialize ( byte arr ) : Instruction

Concerts byte[] to Instruction.

Serialize ( Instruction obj ) : byte[]

Converts Instruction to byte[].

Method Details

DeSerialize() public static method

Concerts byte[] to Instruction.
public static DeSerialize ( byte arr ) : Instruction
arr byte A byte array of the Instruction.
return Instruction

Serialize() public static method

Converts Instruction to byte[].
public static Serialize ( Instruction obj ) : byte[]
obj Instruction The Instruction to be serialized.
return byte[]