(int position, int amount, boolean absolute)
| 286 | } |
| 287 | |
| 288 | protected void checkGet(int position, int amount, boolean absolute) { |
| 289 | if (amount > limit-position) { |
| 290 | throw absolute |
| 291 | ? new IndexOutOfBoundsException() |
| 292 | : new BufferUnderflowException(); |
| 293 | } |
| 294 | } |
| 295 | |
| 296 | public ByteBuffer order(ByteOrder order) { |
| 297 | if (order != ByteOrder.BIG_ENDIAN) throw new UnsupportedOperationException(); |