C# 클래스 WDClient.Serializer

This class serializes Instructions that are passed between client and server. Functionality: Serialization and Deserialization of the Instructions. Note: Different than the server's serializer class (it uses different implementation of the JSON). The client uses Unity's version of a JSON serialization class because it cannot run the new one which is .NET 4.5 and Unity uses .NET 3.5.
Authors: Duy, Nadia, Joel (Client 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[]