Package com.peterhi.runtime

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


   
    // []011!00000 ==> EOF
    assertEquals(-1, withExistingData.read());
   
    // [011]00000 ! ==> Replace '!' with ']', and reset '!'
    withExistingData.reset();
   
    // [01]100000 !
    assertEquals(1, withExistingData.read());
   
    // [0]1100000 !
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.