Sets the {@code readerIndex} and {@code writerIndex} of this buffer to{@code 0}. This method is identical to {@link #setIndex(int,int) setIndex(0, 0)}.
Please note that the behavior of this method is different from that of NIO buffer, which sets the {@code limit} tothe {@code capacity} of the buffer.
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.