Hubert_M

Untitled

Mar 9th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. BufferID[0] = Input[0];
  2. BufferID[1] = Input[1];
  3. BufferID[2] = Input[2];
  4. BufferID[3] = Input[3];
  5.  
  6. IDString = BufferID;
  7. ID = IDString.toInt();
  8.  
  9.  
  10. LengthString = Input[4];
  11. Length = LengthString.toInt();
  12.  
  13. for(int i = 5 ;i<29;i+=3){
  14. BufferLoop[0] = Input[i];
  15. BufferLoop[1] = Input[i+1];
  16. BufferLoop[2] = Input[i+2];
  17. commandString = BufferLoop;
  18. Kod[b] = (byte)commandString.toInt();
  19. b++;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment