共用方式為


BufferedInputStream.Pos Property

Definition

The current position in the buffer.

[Android.Runtime.Register("pos")]
protected int Pos { get; set; }
[<Android.Runtime.Register("pos")>]
member this.Pos : int with get, set

Property Value

Attributes

Remarks

The current position in the buffer. This is the index of the next character to be read from the buf array.

This value is always in the range 0 through count. If it is less than count, then buf[pos] is the next byte to be supplied as input; if it is equal to count, then the next read or skip operation will require more bytes to be read from the contained input stream.

Java documentation for java.io.BufferedInputStream.pos.

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.

Applies to