(byte[] input)
| 197 | * Print a byte[], for debug purposes. |
| 198 | */ |
| 199 | public static void printByteArray(byte[] input) |
| 200 | { |
| 201 | for (int i = 0; i < input.length; i++ ) { |
| 202 | System.out.format("%02X ", input[i]); |
| 203 | } |
| 204 | System.out.println(); |
| 205 | } |
| 206 | |
| 207 | /* Based on http://snippets.dzone.com/posts/show/93 */ |
| 208 | public static byte[] intToByteArray(int input) |
no outgoing calls
no test coverage detected