![]() |
VOOZH | about |
public ByteBuffer reset()Return Value: This method returns this buffer. Below are the examples to illustrate the reset() method: Examples 1:
position before reset: 4 position after reset: 2
position before reset: 1 new position is less than the position we marked before Exception throws: java.nio.InvalidMarkException