Method | Description | |
---|---|---|
FromBytes ( object sourceClass, |
Creates a struct of a specified type by an array of bytes.
|
|
GetClassSize ( |
Gets the size of the struct in bytes.
|
|
ToBytes ( object sourceClass ) : byte[] |
Creates a byte array depending on the struct type.
|
public static FromBytes ( object sourceClass, |
||
sourceClass | object | |
classType | The struct type | |
bytes | byte | The array of bytes |
return | void |
public static GetClassSize ( |
||
classType | the type of the class | |
return | int |
public static ToBytes ( object sourceClass ) : byte[] | ||
sourceClass | object | The struct object |
return | byte[] |