(byte[] input, int firstByte)
| 34 | |
| 35 | |
| 36 | static int get31Bits(byte[] input, int firstByte) { |
| 37 | return ((input[firstByte] & 0x7F) << 24) + ((input[firstByte + 1] & 0xFF) << 16) + |
| 38 | ((input[firstByte + 2] & 0xFF) << 8) + (input[firstByte + 3] & 0xFF); |
| 39 | } |
| 40 | |
| 41 | |
| 42 | static int get31Bits(ByteBuffer input, int firstByte) { |