C# 클래스 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
파일 보기 프로젝트 열기: Good4m/WindowsDefender

공개 메소드들

메소드 설명
DeSerialize ( byte arr ) : Instruction

Concerts byte[] to Instruction.

Serialize ( Instruction obj ) : byte[]

Converts Instruction to byte[].

메소드 상세

DeSerialize() 공개 정적인 메소드

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

Serialize() 공개 정적인 메소드

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