Partager via


ByteArrayInputStream.Mark Property

Definition

The currently marked position in the stream.

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

Property Value

Attributes

Remarks

The currently marked position in the stream. ByteArrayInputStream objects are marked at position zero by default when constructed. They may be marked at another position within the buffer by the mark() method. The current buffer position is set to this point by the reset() method.

If no mark has been set, then the value of mark is the offset passed to the constructor (or 0 if the offset was not supplied).

Added in 1.1.

Java documentation for java.io.ByteArrayInputStream.mark.

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