![]() |
VOOZH | about |
public ByteBuffer mark()Return Value: This method returns this buffer. Below are the examples to illustrate the mark() 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