(byte [] array)
| 348 | } |
| 349 | |
| 350 | private static byte [] |
| 351 | trimByteArray(byte [] array) { |
| 352 | if (array[0] == 0) { |
| 353 | byte trimmedArray[] = new byte[array.length - 1]; |
| 354 | System.arraycopy(array, 1, trimmedArray, 0, array.length - 1); |
| 355 | return trimmedArray; |
| 356 | } else { |
| 357 | return array; |
| 358 | } |
| 359 | } |
| 360 | |
| 361 | private static void |
| 362 | reverseByteArray(byte [] array) { |
no outgoing calls
no test coverage detected