Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. public static int extractRD(byte[] rec, int offset){
  2. System.out.println("RDLengthSize : " + (rec[offset+1] & 0xFF));
  3.  
  4. System.out.print("Après RDLength : ");
  5.  
  6. for(int c=0; c < (rec[offset+1] & 0xFF ); c++){
  7. System.out.print( hexToASCII(Integer.toHexString(rec[offset +c] & 0xff)));
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement