Kept simplified,make it ASAP
Hex String to an Integer
1: String hex = "2A"; //The answer is 42
2: int intValue = Integer.parseInt(hex, 16);
Integer to Hex String
1: String hex = Integer.toHexString(42);
沒有留言:
張貼留言