getting current position from DataInputStream in java
<p>Can anybody tell me how to get the current position of  the index while reading the binary file from <code>DataInputStream</code>? I have seen a <code>mark()</code> method but one is <code>Boolean</code> type and the other is <code>void</code>. I need to read the indexes on separate locations to use them again.</p>
