[Solved] How can i convert java byte array to hexadecimal array in java
There doesn’t appear to be a problem. Java understands hexadecimal notation: it’s okay to write eg = new CommandAPU(new byte[] {(byte)0x80, (byte)0xCA, (byte)0x9F, 0x7F, 0x00}); Your problem is probably the colon : Colons are used for “labeling” code, so that the JVM can go to that point and keep running. That is, because eg is … Read more