C# Class Brunet.Util.AdrConverter

Datei anzeigen Open project: pstjuste/brunet

Public Properties

Property Type Description
ADR_COUNT int>.Dictionary

Protected Properties

Property Type Description
_type_map byte>.Dictionary

Public Methods

Method Description
Deserialize ( MemBlock mb ) : object
Deserialize ( MemBlock mb, int &size ) : object
Deserialize ( MemBlock mb, int offset, int &size ) : object
Deserialize ( Stream s ) : object
Serialize ( object o, Stream s ) : int
Serialize ( object o, byte dest, int offset ) : int
UnboxToLong ( object o ) : long

Protected Methods

Method Description
SerializeArray ( Array my_a, Type t, Type elt, Stream s ) : int
SerializeArray ( Array my_a, Type t, Type elt, byte dest, int off ) : int
SerializeDict ( IDictionary dict, byte dest, int offset ) : int
SerializeList ( IList list, Stream s ) : int
SerializeList ( IList list, byte dest, int off ) : int
SerializePosNum ( ulong v, Stream s ) : int
SerializePosNum ( ulong v, byte dest, int off ) : int

Private Methods

Method Description
AdrConverter ( ) : System
Deserialize ( MemBlock b, int offset, byte term, bool &finished, int &size ) : object
Deserialize ( Stream s, byte terminator, bool &finished ) : object

Method Details

Deserialize() public static method

public static Deserialize ( MemBlock mb ) : object
mb MemBlock
return object

Deserialize() public static method

public static Deserialize ( MemBlock mb, int &size ) : object
mb MemBlock
size int
return object

Deserialize() public static method

public static Deserialize ( MemBlock mb, int offset, int &size ) : object
mb MemBlock
offset int
size int
return object

Deserialize() public static method

public static Deserialize ( Stream s ) : object
s Stream
return object

Serialize() public static method

public static Serialize ( object o, Stream s ) : int
o object
s Stream
return int

Serialize() public static method

public static Serialize ( object o, byte dest, int offset ) : int
o object
dest byte
offset int
return int

SerializeArray() protected static method

protected static SerializeArray ( Array my_a, Type t, Type elt, Stream s ) : int
my_a System.Array
t System.Type
elt System.Type
s Stream
return int

SerializeArray() protected static method

protected static SerializeArray ( Array my_a, Type t, Type elt, byte dest, int off ) : int
my_a System.Array
t System.Type
elt System.Type
dest byte
off int
return int

SerializeDict() protected static method

protected static SerializeDict ( IDictionary dict, byte dest, int offset ) : int
dict IDictionary
dest byte
offset int
return int

SerializeList() static protected method

static protected SerializeList ( IList list, Stream s ) : int
list IList
s Stream
return int

SerializeList() static protected method

static protected SerializeList ( IList list, byte dest, int off ) : int
list IList
dest byte
off int
return int

SerializePosNum() protected static method

protected static SerializePosNum ( ulong v, Stream s ) : int
v ulong
s Stream
return int

SerializePosNum() protected static method

protected static SerializePosNum ( ulong v, byte dest, int off ) : int
v ulong
dest byte
off int
return int

UnboxToLong() public static method

public static UnboxToLong ( object o ) : long
o object
return long

Property Details

ADR_COUNT public_oe static_oe property

public static Dictionary ADR_COUNT
return int>.Dictionary

_type_map protected_oe static_oe property

protected static Dictionary _type_map
return byte>.Dictionary