(int value)
| 153 | } |
| 154 | |
| 155 | @Override |
| 156 | public ByteBuffer putInt(int value) { |
| 157 | int newPosition = position + 4; |
| 158 | if (newPosition > limit) { |
| 159 | throw new BufferOverflowException(); |
| 160 | } |
| 161 | store(position, value); |
| 162 | position = newPosition; |
| 163 | return this; |
| 164 | } |
| 165 | |
| 166 | @Override |
| 167 | public ByteBuffer putInt(int index, int value) { |