Package net.rubyeye.xmemcached.buffer

Examples of net.rubyeye.xmemcached.buffer.IoBuffer.reset()


    assertEquals(60, buffer.remaining());
    buffer.mark();

    buffer.position(32);
    assertEquals(32, buffer.position());
    buffer.reset();
    assertEquals(4, buffer.position());

    assertTrue(buffer.hasRemaining());
    buffer.position(64);
    assertFalse(buffer.hasRemaining());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.