(byte[] input, int firstByte)
| 93 | |
| 94 | |
| 95 | static long getFourBytes(byte[] input, int firstByte) { |
| 96 | return ((long) (input[firstByte] & 0xFF) << 24) + ((input[firstByte + 1] & 0xFF) << 16) + |
| 97 | ((input[firstByte + 2] & 0xFF) << 8) + (input[firstByte + 3] & 0xFF); |
| 98 | } |
| 99 | |
| 100 | |
| 101 | static void setFourBytes(byte[] output, int firstByte, long value) { |
no outgoing calls