packet2.position(10);
packet2.limit(20);
assertEquals(5, packet.position());
assertEquals(95, packet.limit());
assertEquals(10, packet2.position());
assertEquals(20, packet2.limit());
}
public void testRewind() {
Packet packet = createTestPacket(100);