(int size)
| 518 | public static int entityDataIndex = 0; |
| 519 | |
| 520 | private static ByteBuffer nextByteBuffer(int size) |
| 521 | { |
| 522 | ByteBuffer bytebuffer = bigBuffer; |
| 523 | int i = bytebuffer.limit(); |
| 524 | bytebuffer.position(i).limit(i + size); |
| 525 | return bytebuffer.slice(); |
| 526 | } |
| 527 | |
| 528 | public static IntBuffer nextIntBuffer(int size) |
| 529 | { |