Advertisement
Guest User

Untitled

a guest
Sep 5th, 2015
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. String[] hexArray = new String[yourDesiredSize];
  2. for(int index = 0; index < byteArray.length; index++) {
  3. hexArray[index] = Integer.toHexString(byteArray[index]);
  4. // maybe you have to convert your byte to int before this can be done
  5. // (cannot check reight now)
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement