Sdílet prostřednictvím


Reader.Skip(Int64) Method

Definition

Skips characters.

[Android.Runtime.Register("skip", "(J)J", "GetSkip_JHandler")]
public virtual long Skip (long n);
[<Android.Runtime.Register("skip", "(J)J", "GetSkip_JHandler")>]
abstract member Skip : int64 -> int64
override this.Skip : int64 -> int64

Parameters

n
Int64

The number of characters to skip

Returns

The number of characters actually skipped

Attributes

Exceptions

if charCount .

if this reader is closed or some other I/O error occurs.

Remarks

Skips characters. This method will block until some characters are available, an I/O error occurs, or the end of the stream is reached.

Java documentation for java.io.Reader.skip(long).

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

See also