Created
August 22, 2014 13:38
-
-
Save TrevorS/de078db5e355296d27f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ChangeBase { | |
public static void main(String[] args) { | |
short[][] shorts = { { 0x00, 0x28 }, { 0x10, 0x28 }, { 0x1F, 0x9C } }; | |
for (short[] s : shorts) { | |
System.out.println(s[0] << 8 | s[1] & 0xFF); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment