Saves a mark at the current read cursor, subsequent read operations will run normally, once {@link #reset()} is called, the recorded mark will beused to substitute any read cursor position so the read cursor will be rolled back to the previously marked position. This method is useful for pre-reading and checking values. The caller may call {@link #mark()} firstand read as per normal, and if a desired value is found or an error is encountered, call the reset to roll back to keep the cursor intact.
@see #reset()
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.