BufferedInputStream.markpos

The value of the <code>pos</code> field at the time the last <code>mark</code> method was called. <p> This value is always in the range <code>-1</code> through <code>pos</code>. If there is no marked position in the input stream, this field is <code>-1</code>. If there is a marked position in the input stream, then <code>bufmarkpos</code> is the first byte to be supplied as input after a <code>reset</code> operation. If <code>markpos</code> is not <code>-1</code>, then all bytes from positions <code>bufmarkpos</code> through <code>buf[pos-1]</code> must remain in the buffer array (though they may be moved to another place in the buffer array, with suitable adjustments to the values of <code>count</code>, <code>pos</code>, and <code>markpos</code>); they may not be discarded unless and until the difference between <code>pos</code> and <code>markpos</code> exceeds <code>marklimit</code>.

@see java.io.BufferedInputStream#mark(int) @see java.io.BufferedInputStream#pos

class BufferedInputStream
protected
int markpos;

Meta