Method | Description | |
---|---|---|
FromBytes ( |
Creates a struct of a specified type by an array of bytes.
|
|
GetStructSize ( |
Gets the size of the struct in bytes.
|
|
ToBytes ( object structValue ) : byte[] |
Creates a byte array depending on the struct type.
|
public static FromBytes ( |
||
structType | The struct type | |
bytes | byte | The array of bytes |
return | object |
public static GetStructSize ( |
||
structType | the type of the struct | |
return | int |
public static ToBytes ( object structValue ) : byte[] | ||
structValue | object | The struct object |
return | byte[] |