Assembling 32 bit value
I'm looking for a way to store a byte , sbyte and UInt16 in a 32 bit variable in a way that the hex representation looks like bytesbyteuInt16. e.g.
byte byVal=10; //16#0A
sbyte sbyVal=-1; //16#FF
UInt16 usVal=512 //16#0200;would then result in the following 32 bit variable 16#0AFF0200 !
Anyone ?
[322 byte] By [
zvenny] at [2007-11-20 11:31:46]
