()
| 58 | } |
| 59 | |
| 60 | public int nextInt() { |
| 61 | int val = 0; |
| 62 | |
| 63 | val |= nextValue() << 24; |
| 64 | val |= nextValue() << 16; |
| 65 | |
| 66 | if (_intPad == 2) { |
| 67 | _intPad--; |
| 68 | } else { |
| 69 | val |= nextValue() << 8; |
| 70 | } |
| 71 | |
| 72 | if (_intPad == 1) { |
| 73 | _intPad--; |
| 74 | } else { |
| 75 | val |= nextValue(); |
| 76 | } |
| 77 | |
| 78 | return val; |
| 79 | } |
| 80 | |
| 81 | |
| 82 | public long nextLong() { |