(byte[] output, int firstByte, int value)
| 46 | |
| 47 | |
| 48 | static void set31Bits(byte[] output, int firstByte, int value) { |
| 49 | output[firstByte] = (byte) ((value & 0x7F000000) >> 24); |
| 50 | output[firstByte + 1] = (byte) ((value & 0xFF0000) >> 16); |
| 51 | output[firstByte + 2] = (byte) ((value & 0xFF00) >> 8); |
| 52 | output[firstByte + 3] = (byte) (value & 0xFF); |
| 53 | } |
| 54 | |
| 55 | |
| 56 | static int getOneByte(byte[] input, int pos) { |
no outgoing calls