could anyone explain this to me in more detail please?
Encode:
For i = 0 to 7 ' loop for 8-bits
outword.0[(i*2)] = ~inbyte.0[i]
outword.0[(i*2)+1] = inbyte.0[i]
Next i '
Return
Decode::
For i = 0 to 7
outbyte.0[i] = ~inword.0[i<<1]
Next i
Return
The main line i dont understand is: outword.0[(i*2)] = ~inbyte.0[i]
thank you all for your time
Bookmarks