C# Class Messenger.PBUtility

Mostra file Open project: dreamanlan/CSharpGameFramework

Private Properties

Property Type Description

Public Methods

Method Description
Decode ( byte data, Type t, object &msg ) : bool
Encode ( object msg ) : byte[]

Method Details

Decode() public static method

public static Decode ( byte data, Type t, object &msg ) : bool
data byte
t System.Type
msg object
return bool

Encode() public static method

public static Encode ( object msg ) : byte[]
msg object
return byte[]