Java.IO.InputStream.Mark Method
Sets a mark position in this InputStream.

Syntax

[Android.Runtime.Register("mark", "(I)V", "GetMark_IHandler")]
public virtual void Mark (int readlimit)

See Also

InputStream.MarkSupported
InputStream.Reset

Parameters

readlimit
the number of bytes that can be read from this stream before the mark is invalidated.

Remarks

Sets a mark position in this InputStream. The parameter readlimit indicates how many bytes can be read before the mark is invalidated. Sending reset() will reposition the stream back to the marked position provided readLimit has not been surpassed.

This default implementation does nothing and concrete subclasses must provide their own implementation.

[Android Documentation]

Requirements

Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1