C# Class StructureTransform, NoahGameFrame

Afficher le fichier Open project: ketoo/NoahGameFrame Class Usage Examples

Méthodes publiques

Méthode Description
ByteArrayToStructureEndian ( byte bytearray, object &obj, int startoffset ) : void
Reverse ( byte msg ) : void
Reverse ( byte msg, int nOffest, int nSize ) : void
SetEndian ( bool bIsBig ) : bool
StructureToByteArrayEndian ( object obj ) : byte[]

Method Details

ByteArrayToStructureEndian() public static méthode

public static ByteArrayToStructureEndian ( byte bytearray, object &obj, int startoffset ) : void
bytearray byte
obj object
startoffset int
Résultat void

Reverse() public static méthode

public static Reverse ( byte msg ) : void
msg byte
Résultat void

Reverse() public static méthode

public static Reverse ( byte msg, int nOffest, int nSize ) : void
msg byte
nOffest int
nSize int
Résultat void

SetEndian() public static méthode

public static SetEndian ( bool bIsBig ) : bool
bIsBig bool
Résultat bool

StructureToByteArrayEndian() public static méthode

public static StructureToByteArrayEndian ( object obj ) : byte[]
obj object
Résultat byte[]