Guest User

Untitled

a guest
Jun 21st, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. int min = 129;
  2. int i = ((b + min) & 0xFF) - min;
  3.  
  4. // 0-255
  5. int plus = (int)(plusByte & 0xFF);
  6.  
  7. // -255 - 0
  8. int minus = 0 - (int)(minusByte & 0xFF);
Add Comment
Please, Sign In to add comment