| |
| |
| |
|
Page: 1 2
Comments:
<0> works! <0> ki9a <0> may i ask one more stupid question?=
<0> byte[] myByteArray = new byte[] <0> byte[] myByteArray = new byte[40]; <0> if i have a 40bytes long array <1> yes? <0> how can i load it with only a couple of bytes myByteArray ={ 0x05, 0x36, 0x34, 0x38, 0x35, 0x30, 0x33, 0x30, 0x30, 0x30}; <1> byte[] myByteArray = new byte[] { 0x05, ... }; <0> but if i want a size of 40 bytes <1> not easily <1> add a few padding zeros
<0> thats the easiest way= <0> ki9a i got an ushort test; <0> how can i access the first byte and the last byte? <0> there are no pointers in c# <0> :-( <2> use bitwise operations <2> low_byte = test & 0xFF; high_byte = (test >> 8) & 0xFF; <0> thx
Return to
#csharp or Go to some related
logs:
#flash eqa3at #flash #eggtcl #goal #gentoo #cisco EtherLink XL WinXP 64 qhoran #winxp
|
|