Package com.peterhi.runtime

Examples of com.peterhi.runtime.Buffer.mark()


   
    // [011]00000 !
    withExistingData.skip(4);
   
    // [011]!00000 ==> SNAPSHOT marked as '!'
    withExistingData.mark();
   
    // [01]1!00000
    assertEquals(1, withExistingData.read());
   
    // [0]11!00000
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.