G
Guest
Hallo
I am trying to convert an integer into 4 bytes. In C# this can be done as follows
BitmapData[0x02] = (byte) nBytes
BitmapData[0x03] = (byte) (nBytes >> 8)
BitmapData[0x04] = (byte) (nBytes >> 16)
BitmapData[0x05] = (byte) (nBytes >> 24)
How can I do this in VB.NET
Nigel..
I am trying to convert an integer into 4 bytes. In C# this can be done as follows
BitmapData[0x02] = (byte) nBytes
BitmapData[0x03] = (byte) (nBytes >> 8)
BitmapData[0x04] = (byte) (nBytes >> 16)
BitmapData[0x05] = (byte) (nBytes >> 24)
How can I do this in VB.NET
Nigel..