• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use mark() of InputStream

 
AJ sisodia
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question 1.
how to use mark() of InputStream

Question 2.
how is mark() different from reset()


Question 3.
Am i right to think both these methods can replace each other.

Question 4.
when used reset() method points to the start of a file.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question 1
see API

Question 2
see API

Question 3
wrong, see API

Question 4
see API

That was simple
See API for InputStream class. mark() and reset() are clearly explained there.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!