Want to 0 xaa, 0 x55, 0 x00 converted to AA, 55, 00, how does this conversion? And then in the AA, 55, 00, on a Byte array {} AA, 55, 00; The How to get?
CodePudding user response:
Someone didn't? To the top
CodePudding user response:
Don't quite understand, is to convert hexadecimal integer to the corresponding string? Oneself write a small program work it out
CodePudding user response:
Java write: String s="0 x1234"; System. The out. Println (s.s ubSequence (2, s.l ength ())); As to what you said in the byte array inside said don't understand, Sting has getBytes this method, can only help you to it, you didn't ask question
CodePudding user response:
String s="0 x1234"; System. The out. Println (s.s ubString (2, s.l ength ())); Sent you a wrong
CodePudding user response:
Is converted to AA type can directly into the byte array?