my problem is that I send to external device byte array like this:
byte[] dataBuffer = new Byte[9] {1, 2, 3, 4, 5, 6, 7, 8, 9};
but when I read there these bytes, I get e.g. 2 when there should be 3. So it is always the left value.
Is it possible that there is something else at the beginning of array? Null value?
my problem is that I send to external device byte array like this: byte[]
Share
Bytes array is
zero-indexedyou might be considering dataBuffer[1] as first element but infact you have dataBuffer[0] first element.