Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The value of the pos
field at the time the last
mark
method was called.
[Android.Runtime.Register("markpos")]
protected int Markpos { get; set; }
[<Android.Runtime.Register("markpos")>]
member this.Markpos : int with get, set
The value of the pos
field at the time the last mark
method was called.
This value is always in the range -1
through pos
. If there is no marked position in the input stream, this field is -1
. If there is a marked position in the input stream, then buf[markpos]
is the first byte to be supplied as input after a reset
operation. If markpos
is not -1
, then all bytes from positions buf[markpos]
through buf[pos-1]
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 count
, pos
, and markpos
); they may not be discarded unless and until the difference between pos
and markpos
exceeds marklimit
.
Java documentation for java.io.BufferedInputStream.markpos
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in