C# Class Doe.common

Show file Open project: ambasta/doe

Public Methods

Method Description
code ( string s ) : byte[]
code ( byte message, int x, int readBytes ) : string
deserialise ( byte arr ) : object
serialize ( object o ) : byte[]

Method Details

code() public static method

public static code ( string s ) : byte[]
s string
return byte[]

code() public static method

public static code ( byte message, int x, int readBytes ) : string
message byte
x int
readBytes int
return string

deserialise() public static method

public static deserialise ( byte arr ) : object
arr byte
return object

serialize() public static method

public static serialize ( object o ) : byte[]
o object
return byte[]